]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
try to make compiler -Werror hush
authorKen Rice <krice@freeswitch.org>
Tue, 27 Mar 2012 19:11:41 +0000 (14:11 -0500)
committerKen Rice <krice@freeswitch.org>
Tue, 27 Mar 2012 19:11:41 +0000 (14:11 -0500)
libs/esl/ivrd.c

index 66f6908d5d16c1ccbea7b66c8fbb6e4d508ba95f..40e512e21643771d7694bae79bb06ee7f0c38694 100644 (file)
@@ -60,7 +60,9 @@ static void mycallback(esl_socket_t server_sock, esl_socket_t client_sock, struc
                return;
        }
 
-       system(path);
+       if(system(path)) {
+                esl_log(ESL_LOG_ERROR, "System Call Failed! [%s]\n", strerror(errno));
+       }
        esl_disconnect(&handle);
        
 }