diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2011-04-06 21:17:17 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2011-05-17 19:53:03 +0200 |
commit | 3574bad101432eebd71c0179c2ab8db2ecbd3db7 (patch) | |
tree | 2ddce4e851e5ca316fa7c64ec5e6f01fe3eeca36 | |
parent | cee84bd4d4632d5fe844692a62bb437bcf76339c (diff) | |
download | fetchmail-3574bad101432eebd71c0179c2ab8db2ecbd3db7.tar.gz fetchmail-3574bad101432eebd71c0179c2ab8db2ecbd3db7.tar.bz2 fetchmail-3574bad101432eebd71c0179c2ab8db2ecbd3db7.zip |
Drop broken test code.
-rw-r--r-- | socket.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -1069,21 +1069,3 @@ static ssize_t cygwin_read(int sock, void *buf, size_t count) return count; } #endif /* __CYGWIN__ */ - -#ifdef MAIN -/* - * Use the chargen service to test input buffering directly. - * You may have to uncomment the `chargen' service description in your - * inetd.conf (and then SIGHUP inetd) for this to work. */ -main() -{ - int sock = SockOpen("localhost", "chargen", NULL); - char buf[80]; - - while (SockRead(sock, buf, sizeof(buf)-1)) - SockWrite(1, buf, strlen(buf)); - SockClose(sock); -} -#endif /* MAIN */ - -/* socket.c ends here */ |