diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-25 14:00:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-25 14:00:16 +0000 |
commit | 27ec8835f382c361fd2e527afc31278a767f4954 (patch) | |
tree | e574f431d50ee9ecfa2553d637bc049ccc82396e | |
parent | fedc30e5c42a5b3dc3e5bf1dffd8dde0ad42e436 (diff) | |
download | fetchmail-27ec8835f382c361fd2e527afc31278a767f4954.tar.gz fetchmail-27ec8835f382c361fd2e527afc31278a767f4954.tar.bz2 fetchmail-27ec8835f382c361fd2e527afc31278a767f4954.zip |
Fix reply bug.
svn path=/trunk/; revision=826
-rw-r--r-- | driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -433,7 +433,8 @@ char *realname; /* real name of host */ if (!SockGets(buf, sizeof(buf)-1, sockfp)) return(PS_SOCKET); vtalarm(ctl->server.timeout); - line = realloc(line, strlen(line) + strlen(buf) + 1); + /* leave extra room for reply_hack to play with */ + line = realloc(line, strlen(line) + strlen(buf) + HOSTLEN + 1); strcat(line, buf); } while /* we may need to grab RFC822 continuations */ |