diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-08-03 22:04:45 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-08-03 22:04:45 +0000 |
commit | b7188efde616cb0083e20f0ea5377373bc49b490 (patch) | |
tree | 34b56969e37961107ea1582e17d9f5b6e04a6c3e | |
parent | 21e62911e8884481a78f795ab22d55206ba214cd (diff) | |
download | fetchmail-b7188efde616cb0083e20f0ea5377373bc49b490.tar.gz fetchmail-b7188efde616cb0083e20f0ea5377373bc49b490.tar.bz2 fetchmail-b7188efde616cb0083e20f0ea5377373bc49b490.zip |
Don't convert service to port and back, but pass service to plugin.
svn path=/trunk/; revision=4233
-rw-r--r-- | socket.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -332,9 +332,7 @@ int SockOpen(const char *host, const char *service, #ifdef HAVE_SOCKETPAIR if (plugin) { - char buf[10]; - snprintf(buf, sizeof(buf), "%d", clientPort); - return handle_plugin(host,buf,plugin); + return handle_plugin(host,service,plugin); } #endif /* HAVE_SOCKETPAIR */ |