diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-20 15:53:15 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-20 15:53:15 -0400 |
commit | 747c290269db58f68ce05e976af974f3904ac3d0 (patch) | |
tree | 86759848cbd147668eb27a115195f9c7998b347b /core/Messenger.c | |
parent | 2f66b312442f15f24adaf7216f5bc61390fdc016 (diff) |
Fixed DHT_test.c and added some checks.
Diffstat (limited to 'core/Messenger.c')
-rw-r--r-- | core/Messenger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Messenger.c b/core/Messenger.c index a6cbb3ac..dcf0235f 100644 --- a/core/Messenger.c +++ b/core/Messenger.c | |||
@@ -625,7 +625,7 @@ Messenger *initMessenger(void) | |||
625 | { | 625 | { |
626 | Messenger *m = calloc(1, sizeof(Messenger)); | 626 | Messenger *m = calloc(1, sizeof(Messenger)); |
627 | if ( ! m ) | 627 | if ( ! m ) |
628 | return 0; | 628 | return NULL; |
629 | IP ip; | 629 | IP ip; |
630 | ip.i = 0; | 630 | ip.i = 0; |
631 | m->net = new_networking(ip, PORT); | 631 | m->net = new_networking(ip, PORT); |