projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cscvs to tla changeset 122
[onak.git]
/
splitkeys.c
diff --git
a/splitkeys.c
b/splitkeys.c
index 6cdf0a0abb1feb418400e5914cd0d014964833b6..7fe66fa9e9557f4c856909a2723bb9a5ef48db8e 100644
(file)
--- a/
splitkeys.c
+++ b/
splitkeys.c
@@
-5,7
+5,7
@@
*
* Copyright 2003 Project Purple
*
*
* 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>
*/
#include <fcntl.h>
@@
-42,7
+42,7
@@
int main(int argc, char *argv[])
}
}
}
}
- readconfig();
+ readconfig(
NULL
);
initlogthing("splitkeys", config.logfile);
do {
initlogthing("splitkeys", config.logfile);
do {
@@
-58,6
+58,9
@@
int main(int argc, char *argv[])
tmp->next = NULL;
}
}
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);
snprintf(splitfile, 1023, "splitfile-%d.pgp", count);
outfd = open(splitfile, O_WRONLY | O_CREAT, 0664);