diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-18 14:09:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-18 14:09:00 +0000 |
commit | 1258d72197693be2daa54b69dc57b61f8638d7fa (patch) | |
tree | fd623f8f2a667937b81c84f69eec5d61d49e3c22 | |
parent | 2439ed1c3b02f1f4300576369a392b80e87e5ce7 (diff) | |
download | gnunet-1258d72197693be2daa54b69dc57b61f8638d7fa.tar.gz gnunet-1258d72197693be2daa54b69dc57b61f8638d7fa.zip |
-fix NPE
-rw-r--r-- | src/transport/gnunet-service-transport_clients.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c index f286016a6..8c1ca61e5 100644 --- a/src/transport/gnunet-service-transport_clients.c +++ b/src/transport/gnunet-service-transport_clients.c | |||
@@ -727,7 +727,7 @@ handle_send_transmit_continuation (void *cls, | |||
727 | (unsigned int) bytes_on_wire, | 727 | (unsigned int) bytes_on_wire, |
728 | GNUNET_i2s (&stcc->target), | 728 | GNUNET_i2s (&stcc->target), |
729 | success, | 729 | success, |
730 | addr->transport_name); | 730 | (NULL != addr) ? addr->transport_name : "%"); |
731 | else | 731 | else |
732 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 732 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
733 | "It took us %s to send %u/%u bytes to %s (%d, %s)\n", | 733 | "It took us %s to send %u/%u bytes to %s (%d, %s)\n", |
@@ -737,7 +737,7 @@ handle_send_transmit_continuation (void *cls, | |||
737 | (unsigned int) bytes_on_wire, | 737 | (unsigned int) bytes_on_wire, |
738 | GNUNET_i2s (&stcc->target), | 738 | GNUNET_i2s (&stcc->target), |
739 | success, | 739 | success, |
740 | addr->transport_name); | 740 | (NULL != addr) ? addr->transport_name : "%"); |
741 | 741 | ||
742 | if (GST_neighbours_test_connected (&stcc->target)) | 742 | if (GST_neighbours_test_connected (&stcc->target)) |
743 | { | 743 | { |