summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
061e8ca)
Author: noodles
Date: 2003/10/03 23:34:06
Fix crash after outputting last set of split keys.
*
* 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.3 2003/10/03 23:34:06 noodles Exp $
+ 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);