diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-16 17:13:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-16 17:13:37 +0000 |
commit | 92f8aed964cff174491adbf308974ab09874926b (patch) | |
tree | 537115d586203b856a3ef3ab351a8b783c06c907 /src/conversation/conversation_api.c | |
parent | a4d350f7de02167577ba8c760f08a0866bc2c9e7 (diff) | |
download | gnunet-92f8aed964cff174491adbf308974ab09874926b.tar.gz gnunet-92f8aed964cff174491adbf308974ab09874926b.zip |
-doxygen, minor bug fixes
Diffstat (limited to 'src/conversation/conversation_api.c')
-rw-r--r-- | src/conversation/conversation_api.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c index aad272d9c..c8289fe01 100644 --- a/src/conversation/conversation_api.c +++ b/src/conversation/conversation_api.c | |||
@@ -355,11 +355,20 @@ handle_phone_hangup (void *cls, | |||
355 | if (hang->cid == caller->cid) | 355 | if (hang->cid == caller->cid) |
356 | break; | 356 | break; |
357 | if (NULL == caller) | 357 | if (NULL == caller) |
358 | { | ||
359 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
360 | "Received HANG_UP message for unknown caller ID %u\n", | ||
361 | (unsigned int) hang->cid); | ||
358 | return; | 362 | return; |
363 | } | ||
359 | 364 | ||
365 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
366 | "Received HANG_UP message, terminating call with `%s'\n", | ||
367 | caller->caller_id_str); | ||
360 | switch (caller->state) | 368 | switch (caller->state) |
361 | { | 369 | { |
362 | case CS_RESOLVE: | 370 | case CS_RESOLVE: |
371 | /* application doesn't even know about call yet */ | ||
363 | GNUNET_NAMESTORE_cancel (caller->qe); | 372 | GNUNET_NAMESTORE_cancel (caller->qe); |
364 | caller->qe = NULL; | 373 | caller->qe = NULL; |
365 | break; | 374 | break; |