Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src


Modified Files:
        entropy_core.c 


Log Message:
* Only accept IPC messages from our own server

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/entropy_core.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -3 -r1.95 -r1.96
--- entropy_core.c      25 Jul 2007 17:01:03 -0000      1.95
+++ entropy_core.c      27 Jul 2007 14:09:42 -0000      1.96
@@ -48,6 +48,9 @@
        entropy_notify_event_cb_data* cb_data;
        int destroy_struct =0;
 
+       /*If it's not from us, ignore*/
+       if (ecore_ipc_client_server_get(e->client) != core->server) return 1;
+
        
        /*printf ("Received message\n");*/
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to