Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : proto

Dir     : e17/proto/examine/src/lib


Modified Files:
        examine_main.c 


Log Message:
Typo causing the wrong size to be allocated.

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/examine/src/lib/examine_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- examine_main.c      10 Nov 2003 22:41:18 -0000      1.1
+++ examine_main.c      12 Nov 2003 17:14:06 -0000      1.2
@@ -385,12 +385,12 @@
         name,key,t->identifier?t->identifier:"");
       return EXAMINE_ERR_IGNORED; }
 
-  if(!(l=malloc(sizeof(Examine_Listener))))
+  if(!(l=malloc(sizeof(Examine_Listener_List))))
     return EXAMINE_ERR_OOM;
 
   E(1,"registering listener \"%s\" for \"%s\" (%d)...\n",name,key,e->type);
 
-  memset(l,0,sizeof(Examine_Listener));
+  memset(l,0,sizeof(Examine_Listener_List));
 
   l->listener =listener;
   l->name     =name;




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to