Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ipc.c 


Log Message:
Oops - fix.

===================================================================
RCS file: /cvs/e/e16/e/src/ipc.c,v
retrieving revision 1.293
retrieving revision 1.294
diff -u -3 -r1.293 -r1.294
--- ipc.c       25 Feb 2007 18:05:52 -0000      1.293
+++ ipc.c       25 Feb 2007 20:08:44 -0000      1.294
@@ -1605,8 +1605,9 @@
    IpcPrintInit();
 
    cmd[0] = 0;
+   num = 0;
    sscanf(params, "%100s %n", cmd, &num);
-   prm = (num > 0) ? params + num : NULL;
+   prm = (num > 0 && params[num]) ? params + num : NULL;
 
    lst = IPC_GetList(&num);
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to