Commit 991be6d4 authored by Jan Djärv's avatar Jan Djärv

xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd).

parent c04b03f8
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.
......
......@@ -255,7 +255,7 @@ smc_save_yourself_CB (smcConn,
cwd = get_current_dir_name ();
if (cwd)
{
chdir_opt = xmalloc (strlen (CHDIR_OPT) + strlen (client_id) + 1);
chdir_opt = xmalloc (strlen (CHDIR_OPT) + strlen (cwd) + 1);
strcpy (chdir_opt, CHDIR_OPT);
strcat (chdir_opt, cwd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment