Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/bin


Modified Files:
        evfs_main.c 


Log Message:
Stop SEGV on client disconnect

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/bin/evfs_main.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- evfs_main.c 21 Oct 2005 09:54:16 -0000      1.17
+++ evfs_main.c 21 Oct 2005 10:57:52 -0000      1.18
@@ -94,9 +94,10 @@
 
 
    e = (Ecore_Ipc_Event_Client_Del *) event;
-    printf("Client %d, Client Disconnected!!!\n", client->client);
 
     client = ecore_hash_get(server->client_hash, e->client);
+    printf("Client %ld, Client Disconnected!!!\n", client->id);
+    ecore_hash_remove(server->client_hash, client);
     evfs_cleanup_client(client);
 
     




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to