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_reject.c | |
parent | 310f312557954662ffc32f74bbacdb63d76ede3d (diff) | |
download | gnunet-aece72e29b041e2dfbc5b49d2fd0d49f8ab2124e.tar.gz gnunet-aece72e29b041e2dfbc5b49d2fd0d49f8ab2124e.zip |
addressing #3431
Diffstat (limited to 'src/conversation/test_conversation_api_reject.c')
-rw-r--r-- | src/conversation/test_conversation_api_reject.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/conversation/test_conversation_api_reject.c b/src/conversation/test_conversation_api_reject.c index 06e364ec5..8bfaabae9 100644 --- a/src/conversation/test_conversation_api_reject.c +++ b/src/conversation/test_conversation_api_reject.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 |
@@ -174,13 +174,11 @@ static void | |||
174 | phone_event_handler (void *cls, | 174 | phone_event_handler (void *cls, |
175 | enum GNUNET_CONVERSATION_PhoneEventCode code, | 175 | enum GNUNET_CONVERSATION_PhoneEventCode code, |
176 | struct GNUNET_CONVERSATION_Caller *caller, | 176 | struct GNUNET_CONVERSATION_Caller *caller, |
177 | const char *caller_id) | 177 | const struct GNUNET_CRYPTO_EcdsaPublicKey *caller_id) |
178 | { | 178 | { |
179 | static enum GNUNET_CONVERSATION_PhoneEventCode expect | 179 | static enum GNUNET_CONVERSATION_PhoneEventCode expect |
180 | = GNUNET_CONVERSATION_EC_PHONE_RING; | 180 | = GNUNET_CONVERSATION_EC_PHONE_RING; |
181 | 181 | ||
182 | GNUNET_break (0 == strcmp (caller_id, | ||
183 | gns_caller_id)); | ||
184 | GNUNET_break (code == expect); | 182 | GNUNET_break (code == expect); |
185 | switch (code) | 183 | switch (code) |
186 | { | 184 | { |
@@ -242,7 +240,8 @@ namestore_put_cont (void *cls, | |||
242 | GNUNET_assert (GNUNET_YES == success); | 240 | GNUNET_assert (GNUNET_YES == success); |
243 | GNUNET_assert (NULL == emsg); | 241 | GNUNET_assert (NULL == emsg); |
244 | GNUNET_assert (NULL == op); | 242 | GNUNET_assert (NULL == op); |
245 | op = GNUNET_IDENTITY_create (id, "caller-ego", &caller_ego_create_cont, NULL); | 243 | op = GNUNET_IDENTITY_create (id, "caller-ego", |
244 | &caller_ego_create_cont, NULL); | ||
246 | } | 245 | } |
247 | 246 | ||
248 | 247 | ||