@@ -18,3 +18,15 @@
#include <razorback/config_file.h>
#include <string.h>
#include <stdio.h>
+--- nuggets/logNugget/src/file_log_nugget.c.orig 2011-12-08 20:25:20.498606509 +0100
++++ nuggets/logNugget/src/file_log_nugget.c 2011-12-08 20:26:55.738407872 +0100
+@@ -64,7 +64,8 @@
+ return JUDGMENT_REASON_ERROR;
+
+ l_pFileHandle =fopen(l_sFileName, "w");
+- fwrite(block->pData, block->pId->iLength, 1, l_pFileHandle);
++ int fr = 0;
++ fr = fwrite(block->pData, block->pId->iLength, 1, l_pFileHandle);
+ fclose(l_pFileHandle);
+ free(l_sFileName);
+ free(l_sHash);
|