xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd).
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user