diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-13 23:42:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-13 23:42:04 +0000 |
commit | 451d98c467f141e7802b91d26869b6e38ee868fc (patch) | |
tree | 7db5f650940300bb81cd23ab9d41a312ece63e68 /rcfile_y.y | |
parent | 2cbdef3efbe733325aea934ed3ffab9e9ba6175e (diff) | |
download | fetchmail-451d98c467f141e7802b91d26869b6e38ee868fc.tar.gz fetchmail-451d98c467f141e7802b91d26869b6e38ee868fc.tar.bz2 fetchmail-451d98c467f141e7802b91d26869b6e38ee868fc.zip |
Change type of socket descriptors from FILE * to int. Change SockGets
to SockRead a la read(2). This is all part of an attempt to deal with
embedded NULs in IMAP messages.
svn path=/trunk/; revision=992
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -330,6 +330,7 @@ static int reset_server(char *name, int skip) return(FALSE); memset(¤t,'\0',sizeof(current)); + current.smtp_socket = -1; save_str(¤t.server.names, -1, name); current.server.skip = skip; return(TRUE); @@ -350,6 +351,7 @@ static void user_reset(void) save = current.server; memset(¤t, '\0', sizeof(current)); + current.smtp_socket = -1; current.server = save; } |