aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-09-11 19:01:53 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-09-11 19:01:53 +0000
commite2035c018f293db615fb4c46984ea033b9e7f50b (patch)
tree81803a87e383b510be5682b634758c35e1ee7cde /socket.c
parent7e3ec8c9d872b906a803c406f4851f30ff98ee5c (diff)
downloadfetchmail-e2035c018f293db615fb4c46984ea033b9e7f50b.tar.gz
fetchmail-e2035c018f293db615fb4c46984ea033b9e7f50b.tar.bz2
fetchmail-e2035c018f293db615fb4c46984ea033b9e7f50b.zip
Most of the way to SMTP forwarding.
svn path=/trunk/; revision=79
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/socket.c b/socket.c
index 664415f2..058b3ea6 100644
--- a/socket.c
+++ b/socket.c
@@ -20,9 +20,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/time.h>
-#ifdef SMTP_FORWARD
#include <sys/ioctl.h>
-#endif /* SMTP_FORWARD */
#if defined(STDC_HEADERS)
#include <string.h>
#endif
@@ -188,7 +186,6 @@ int len;
return(len);
}
-#ifdef SMTP_FORWARD
/* SockClearHeader: call this procedure in order to kill off any
forthcoming Header info from the socket that we no longer want.
*/
@@ -246,8 +243,6 @@ int SockDataWaiting(int socket)
fcntl(socket,F_SETFL,flags);
return res;
}
-#endif /* SMTP_FORWARD */
-
int SockPrintf(socket,format,va_alist)
int socket;