projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90c778
)
Fixing Valgrind report
author
Safey A.Halim
<safey.allah@gmail.com>
Wed, 15 Jun 2011 06:42:25 +0000
(06:42 +0000)
committer
Safey A.Halim
<safey.allah@gmail.com>
Wed, 15 Jun 2011 06:42:25 +0000
(06:42 +0000)
src/monkey/action_api.c
patch
|
blob
|
history
diff --git
a/src/monkey/action_api.c
b/src/monkey/action_api.c
index 0206b87a4a57dab8e55a2da073687ca7abf13bce..67bd2113918f42ab7b9d78d64c451bb29c152116 100644
(file)
--- a/
src/monkey/action_api.c
+++ b/
src/monkey/action_api.c
@@
-564,7
+564,7
@@
static const char* getValgrindOutput(struct GNUNET_MONKEY_ACTION_Context *cntxt)
fseek(valgrindFile, 0L, SEEK_SET);
valgrindOutput = GNUNET_malloc(size);
- fread(valgrindOutput, size, 1, valgrindFile);
+ fread(valgrindOutput, size
- 1
, 1, valgrindFile);
fclose(valgrindFile);
return valgrindOutput;
}