Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src


Modified Files:
        plugin_helper.c 


Log Message:
* Argh - broke rename in a regression - fixed

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugin_helper.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- plugin_helper.c     23 Apr 2006 11:16:30 -0000      1.21
+++ plugin_helper.c     30 Apr 2006 09:16:45 -0000      1.22
@@ -248,7 +248,7 @@
 
   if (plugin) {
         entropy_generic_file* clone = entropy_generic_file_clone(file);
-       strncpy(clone->filename, dest, strlen(dest));
+       strncpy(clone->filename, dest, strlen(dest)+1);
          
        (*plugin->file_functions.file_rename) (file,clone);
        entropy_generic_file_destroy(clone);




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to