Enlightenment CVS committal Author : handyande Project : e17 Module : proto
Dir : e17/proto/exhibit/src/bin Modified Files: exhibit_comment_jpeg.c Log Message: oops, bad usage here perhaps =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/exhibit/src/bin/exhibit_comment_jpeg.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- exhibit_comment_jpeg.c 14 Mar 2006 01:01:15 -0000 1.1 +++ exhibit_comment_jpeg.c 14 Mar 2006 01:17:35 -0000 1.2 @@ -483,7 +483,7 @@ file_len = strlen(file); tmp_file = malloc((file_len + 4 + 1) * sizeof(char)); strncpy(tmp_file, file, file_len); - strncat(tmp_file +file_len, "_tmp", 4); + strncat(tmp_file, "_tmp", 4); if ((outfile = fopen(tmp_file, "wb")) == NULL) { fprintf(stderr, "COMMENT: can't open %s for writing\n", tmp_file); return 0; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs