Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
991be6d4
Commit
991be6d4
authored
May 04, 2010
by
Jan Djärv
Browse files
xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd).
parent
c04b03f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/xsmfns.c
src/xsmfns.c
+1
-1
No files found.
src/ChangeLog
View file @
991be6d4
2010-05-04 Bernhard Herzog <bh@intevation.de> (tiny change)
* xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd).
2010-05-04 Dan Nicolaescu <dann@ics.uci.edu>
Remove BSD_PGRPS.
...
...
src/xsmfns.c
View file @
991be6d4
...
...
@@ -255,7 +255,7 @@ smc_save_yourself_CB (smcConn,
cwd
=
get_current_dir_name
();
if
(
cwd
)
{
chdir_opt
=
xmalloc
(
strlen
(
CHDIR_OPT
)
+
strlen
(
c
lient_i
d
)
+
1
);
chdir_opt
=
xmalloc
(
strlen
(
CHDIR_OPT
)
+
strlen
(
c
w
d
)
+
1
);
strcpy
(
chdir_opt
,
CHDIR_OPT
);
strcat
(
chdir_opt
,
cwd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment