1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Committed patch from <dp8zyzz1se.fsf@mraz.iskon.hr>.

This commit is contained in:
hniksic 2000-03-31 05:51:53 -08:00
parent c71f174ed6
commit 6b0aaebf33
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1998-12-22 Alexander V. Lukyanov <lav@yars.free.net>
* ftp-opie.c (btoe): Zero-terminate OSTORE.
2000-03-21 Hrvoje Niksic <hniksic@iskon.hr>
* wget.h (DO_REALLOC_FROM_ALLOCA): Ditto.

View File

@ -2138,6 +2138,8 @@ btoe (char *store, const char *c)
*store++ = ' ';
memcpy (store, &Wp[extract (cp, 55, 11)][0], 4);
store[4] = '\0'; /* make sure the string is zero-terminated */
DEBUGP (("store is `%s'\n", ostore));
return ostore;