mirror of
https://github.com/mirror/wget.git
synced 2026-08-22 19:03:27 +08:00
[svn] Committed patch from <dp8zyzz1se.fsf@mraz.iskon.hr>.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user