[Toxine-cvs] CVS: toxine/src commands.c,1.64,1.65
Brought to you by:
f1rmb
From: Daniel Caujolle-B. <f1...@us...> - 2004-05-17 20:04:27
|
Update of /cvsroot/toxine/toxine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18479 Modified Files: commands.c Log Message: @@cosmetic Index: commands.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/commands.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- commands.c 17 May 2004 20:03:18 -0000 1.64 +++ commands.c 17 May 2004 20:04:16 -0000 1.65 @@ -797,6 +797,7 @@ if(FD_ISSET(fd, &set)) { if((len = read(fd, &command, 32767))) { char *p = command; + command[len - 1] = '\0'; while(p && (*p != '\0')) { @@ -811,6 +812,7 @@ break; } } + toxine_set_command_line(tox, command); toxine_handle_command(tox, NULL); } |