aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-04-05 08:51:03 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-04-05 08:51:03 +0000
commitb7666e100947208ec7d3580e6b4f16ae196c9bab (patch)
tree08bb0612ea4d59c25091dc75766724ff39e2da63
parente5739a3f020ded0f22a59ac03de164d34f5d9016 (diff)
downloadgnunet-b7666e100947208ec7d3580e6b4f16ae196c9bab.tar.gz
gnunet-b7666e100947208ec7d3580e6b4f16ae196c9bab.zip
wrong struct
-rw-r--r--src/peerinfo/peerinfo_api_notify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peerinfo/peerinfo_api_notify.c b/src/peerinfo/peerinfo_api_notify.c
index 4520decfd..194664d62 100644
--- a/src/peerinfo/peerinfo_api_notify.c
+++ b/src/peerinfo/peerinfo_api_notify.c
@@ -166,6 +166,7 @@ process_notification (void *cls, const struct GNUNET_MessageHeader *msg)
166 return; 166 return;
167 } 167 }
168 } 168 }
169
169 LOG (GNUNET_ERROR_TYPE_DEBUG, 170 LOG (GNUNET_ERROR_TYPE_DEBUG,
170 "Received information about peer `%s' from peerinfo database\n", 171 "Received information about peer `%s' from peerinfo database\n",
171 GNUNET_i2s (&im->peer)); 172 GNUNET_i2s (&im->peer));
@@ -216,7 +217,7 @@ transmit_notify_request (void *cls, size_t size, void *buf)
216 nm.include_friend_only = htonl (nc->include_friend_only); 217 nm.include_friend_only = htonl (nc->include_friend_only);
217 memcpy (buf, &nm, sizeof (struct NotifyMessage)); 218 memcpy (buf, &nm, sizeof (struct NotifyMessage));
218 receive_notifications (nc); 219 receive_notifications (nc);
219 return sizeof (struct GNUNET_MessageHeader); 220 return sizeof (struct NotifyMessage);
220} 221}
221 222
222 223