diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 03:16:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 03:16:16 +0000 |
commit | 38a50aa15463362c59af69ac80e95f713bad27e3 (patch) | |
tree | 655d6852047f90c13b447b27572eba5ab2ea2035 /pop2.c | |
parent | 9aafb07f141bbd1cae1395e34fe3d064918c6712 (diff) | |
download | fetchmail-38a50aa15463362c59af69ac80e95f713bad27e3.tar.gz fetchmail-38a50aa15463362c59af69ac80e95f713bad27e3.tar.bz2 fetchmail-38a50aa15463362c59af69ac80e95f713bad27e3.zip |
Merged hostrec and option structures.
svn path=/trunk/; revision=27
Diffstat (limited to 'pop2.c')
-rw-r--r-- | pop2.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -51,7 +51,6 @@ int POP2_stateXFER (int msgsize, int socket, int mboxfd, int topipe); using Post Office Protocol 2. arguments: - servername name of the server to which we'll connect. options fully-specified options (i.e. parsed, defaults invoked, etc). @@ -64,8 +63,7 @@ int POP2_stateXFER (int msgsize, int socket, int mboxfd, int topipe); globals: reads outlevel. *********************************************************************/ -int doPOP2 (servername,options) -char *servername; +int doPOP2 (options) struct optrec *options; { int mboxfd; @@ -90,7 +88,7 @@ struct optrec *options; ; /* open the socket to the POP server */ - if ((socket = Socket(servername,POP2_PORT)) < 0) { + if ((socket = Socket(options->servername,POP2_PORT)) < 0) { perror("doPOP2: socket"); return(PS_SOCKET); } |