aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conversation/gnunet-conversation.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c
index 2ea3d77cb..b81743933 100644
--- a/src/conversation/gnunet-conversation.c
+++ b/src/conversation/gnunet-conversation.c
@@ -352,10 +352,9 @@ start_phone ()
352 address = GNUNET_GNSRECORD_value_to_string (rd.record_type, 352 address = GNUNET_GNSRECORD_value_to_string (rd.record_type,
353 rd.data, 353 rd.data,
354 rd.data_size); 354 rd.data_size);
355 if (verbose) 355 FPRINTF (stdout,
356 FPRINTF (stdout, 356 _("Phone active on line %u. Type `/help' for a list of available commands\n"),
357 _("Phone active on line %u\n"), 357 (unsigned int) line);
358 (unsigned int) line);
359 phone_state = PS_LISTEN; 358 phone_state = PS_LISTEN;
360 } 359 }
361} 360}
@@ -522,6 +521,13 @@ do_call (const char *arg)
522 break; 521 break;
523 } 522 }
524 GNUNET_free_non_null (peer_name); 523 GNUNET_free_non_null (peer_name);
524 if (NULL == arg)
525 {
526 FPRINTF (stderr,
527 _("Call recipient missing.\n"));
528 do_help ("/call");
529 return;
530 }
525 peer_name = GNUNET_strdup (arg); 531 peer_name = GNUNET_strdup (arg);
526 call_state = CS_RESOLVING; 532 call_state = CS_RESOLVING;
527 GNUNET_assert (NULL == call); 533 GNUNET_assert (NULL == call);