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:
906cc85
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Wed, 20 Oct 2010 11:46:54 +0000
(11:46 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 20 Oct 2010 11:46:54 +0000
(11:46 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 763d48a399b64352283ceecf3b5d281bd774adac..6d492537dd65794049c6d9d87d17c07cb0e6aeab 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-879,7
+879,7
@@
produce_send (void *cls, size_t size, void *buf)
#if DEBUG_CORE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Size of clients message to peer %s is 0!\n",
- GNUNET_i2s(&
th
->peer));
+ GNUNET_i2s(&
sm
->peer));
#endif
/* client decided to send nothing! */
return 0;
@@
-899,7
+899,7
@@
produce_send (void *cls, size_t size, void *buf)
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Preparing for P2P transmission of %u bytes to `%4s'.\n",
dt,
- GNUNET_i2s(&
th
->peer));
+ GNUNET_i2s(&
sm
->peer));
#endif
sm->header.size = htons (dt + sizeof (struct SendMessage));
GNUNET_assert (dt + sizeof (struct SendMessage) <= size);