[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7107 - GNUnet/src/util/crypto
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7107 - GNUnet/src/util/crypto |
Date: |
Mon, 9 Jun 2008 09:41:12 -0600 (MDT) |
Author: grothoff
Date: 2008-06-09 09:41:12 -0600 (Mon, 09 Jun 2008)
New Revision: 7107
Modified:
GNUnet/src/util/crypto/hashing.c
Log:
missing close on CTRL-C handler
Modified: GNUnet/src/util/crypto/hashing.c
===================================================================
--- GNUnet/src/util/crypto/hashing.c 2008-06-09 15:38:47 UTC (rev 7106)
+++ GNUnet/src/util/crypto/hashing.c 2008-06-09 15:41:12 UTC (rev 7107)
@@ -426,7 +426,12 @@
}
if (GNUNET_YES == GNUNET_shutdown_test ())
{
- GNUNET_free (buf);
+ if (0 != CLOSE (fh))
+ GNUNET_GE_LOG_STRERROR_FILE (ectx,
+ GNUNET_GE_ERROR | GNUNET_GE_USER |
+ GNUNET_GE_ADMIN | GNUNET_GE_BULK,
+ "close", filename);
+ GNUNET_free (buf);
return GNUNET_SYSERR;
}
sha512_update (&ctx, buf, delta);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7107 - GNUnet/src/util/crypto,
gnunet <=