*
* Copyright 2003 Project Purple
*
- * $Id: splitkeys.c,v 1.2 2003/10/03 23:03:02 noodles Exp $
+ * $Id: splitkeys.c,v 1.4 2003/10/15 21:15:21 noodles Exp $
*/
#include <fcntl.h>
}
}
- readconfig();
+ readconfig(NULL);
initlogthing("splitkeys", config.logfile);
do {
tmp->next = NULL;
}
}
+ if (tmp->next != NULL) {
+ list_end = NULL;
+ }
snprintf(splitfile, 1023, "splitfile-%d.pgp", count);
outfd = open(splitfile, O_WRONLY | O_CREAT, 0664);