git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@586 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-06-15 16:59:04 +00:00
parent 74f0d6362b
commit c357b8161d
26 changed files with 40 additions and 34 deletions

View File

@@ -10,6 +10,7 @@ static char SccsId[] = "@(#)@(#)pop_init.c 2.1 2.1 3/18/91";
#endif /* not lint */
#include <popper.h>
RCSID("$Id$");
#ifdef KERBEROS
AUTH_DAT kdata;
@@ -98,7 +99,11 @@ pop_init(POP *p,int argcount,char **argmessage)
#endif
/* Process command line arguments */
while ((c = getopt(argcount,argmessage,"kdt:")) != EOF)
while ((c = getopt(argcount,argmessage,
#ifdef KERBEROS
"k"
#endif
"dt:")) != EOF)
switch (c) {
/* Debugging requested */
@@ -119,10 +124,12 @@ pop_init(POP *p,int argcount,char **argmessage)
trace_file_name = optarg;
break;
#ifdef KERBEROS
/* Use kerberos version of POP3 protocol */
case 'k':
p->kerberosp = 1;
break;
#endif
/* Timeout value passed. Default changed */
case 'T':