diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_peer.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index a2068b31b..221364c5d 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -245,7 +245,7 @@ GCP_2s (const struct CadetPeer *cp) | |||
245 | char *ret; | 245 | char *ret; |
246 | 246 | ||
247 | if ((NULL == cp) || | 247 | if ((NULL == cp) || |
248 | (0 == GNUNET_is_zero (&cp->pid.public_key))) | 248 | (GNUNET_YES == GNUNET_is_zero (&cp->pid.public_key))) |
249 | return "NULL"; | 249 | return "NULL"; |
250 | 250 | ||
251 | ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&cp->pid.public_key); | 251 | ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&cp->pid.public_key); |