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:
parent
c71f174ed6
commit
6b0aaebf33
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user