changeset 256:ac890087b8c1

* keyimport.c: fclose() the key file to make sure data gets written
author Matt Johnston <matt@ucc.asn.au>
date Wed, 30 Nov 2005 06:32:26 +0000
parents 89ace56293f6
children 63601217f5ab
files keyimport.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/keyimport.c	Tue Nov 08 11:35:52 2005 +0000
+++ b/keyimport.c	Wed Nov 30 06:32:26 2005 +0000
@@ -173,6 +173,8 @@
 		buf_incrpos(buf, len);
 	} while (len > 0 && buf->len != buf->pos);
 
+	fclose(fp);
+
 	if (buf->pos != buf->len) {
 		ret = 0;
 	} else {