diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-06 08:43:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-06 08:43:16 +0000 |
commit | aece72e29b041e2dfbc5b49d2fd0d49f8ab2124e (patch) | |
tree | cce216b507c99bf6723e15da5158e68a57a55f41 /src/conversation/test_conversation_api.c | |
parent | 310f312557954662ffc32f74bbacdb63d76ede3d (diff) | |
download | gnunet-aece72e29b041e2dfbc5b49d2fd0d49f8ab2124e.tar.gz gnunet-aece72e29b041e2dfbc5b49d2fd0d49f8ab2124e.zip |
addressing #3431
Diffstat (limited to 'src/conversation/test_conversation_api.c')
-rw-r--r-- | src/conversation/test_conversation_api.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/conversation/test_conversation_api.c b/src/conversation/test_conversation_api.c index 9714d5a81..862b71e6b 100644 --- a/src/conversation/test_conversation_api.c +++ b/src/conversation/test_conversation_api.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2013 Christian Grothoff (and other contributing authors) | 3 | (C) 2013, 2014 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -330,13 +330,11 @@ static void | |||
330 | phone_event_handler (void *cls, | 330 | phone_event_handler (void *cls, |
331 | enum GNUNET_CONVERSATION_PhoneEventCode code, | 331 | enum GNUNET_CONVERSATION_PhoneEventCode code, |
332 | struct GNUNET_CONVERSATION_Caller *caller, | 332 | struct GNUNET_CONVERSATION_Caller *caller, |
333 | const char *caller_id) | 333 | const struct GNUNET_CRYPTO_EcdsaPublicKey *caller_id) |
334 | { | 334 | { |
335 | static enum GNUNET_CONVERSATION_PhoneEventCode expect | 335 | static enum GNUNET_CONVERSATION_PhoneEventCode expect |
336 | = GNUNET_CONVERSATION_EC_PHONE_RING; | 336 | = GNUNET_CONVERSATION_EC_PHONE_RING; |
337 | 337 | ||
338 | GNUNET_break (0 == strcmp (caller_id, | ||
339 | gns_caller_id)); | ||
340 | GNUNET_break (code == expect); | 338 | GNUNET_break (code == expect); |
341 | switch (code) | 339 | switch (code) |
342 | { | 340 | { |