summaryrefslogtreecommitdiff
blob: 27fe669f8c1ce5451a9b6c269a0cf89aa71f1e97 (plain)
1
2
3
4
5
6
7
8
9
10
--- linphone-1.6.0.old/console/commands.c	2007-02-02 13:57:55.000000000 +0100
+++ linphone-1.6.0/console/commands.c	2007-02-02 14:25:51.000000000 +0100
@@ -287,6 +287,7 @@
 static int
 lpc_cmd_call(LinphoneCore *lc, char *args)
 {
+	if ( ! args || ! *args ) return 0;
 	if ( lc->call != NULL )
 	{
 		printf("Terminate current call first.\n");