[axel-commits] r100 - /trunk/text.c

phihag-guest at users.alioth.debian.org phihag-guest at users.alioth.debian.org
Wed Apr 1 23:00:17 UTC 2009


Author: phihag-guest
Date: Wed Apr  1 23:00:17 2009
New Revision: 100

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=100
Log:
Set \0 in the right position

Modified:
    trunk/text.c

Modified: trunk/text.c
URL: http://svn.debian.org/wsvn/axel/trunk/text.c?rev=100&op=diff
==============================================================================
--- trunk/text.c (original)
+++ trunk/text.c Wed Apr  1 23:00:17 2009
@@ -272,7 +272,7 @@
 				
 				fn[fnlen] = '/';
 				memcpy(fn+fnlen+1, axel->filename, axelfnlen);
-				fn[fnlen + 1 + axelfnlen + 1] = '\0';
+				fn[fnlen + 1 + axelfnlen] = '\0';
 			}
 		}
 		sprintf( string, "%s.st", fn );




More information about the axel-commits mailing list