From: Ken Rice Date: Tue, 27 Mar 2012 19:11:41 +0000 (-0500) Subject: try to make compiler -Werror hush X-Git-Tag: v1.2-rc1~19^2^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ed759b1ce08c7a8567a6e8dc4f62fa197ba632;p=thirdparty%2Ffreeswitch.git try to make compiler -Werror hush --- diff --git a/libs/esl/ivrd.c b/libs/esl/ivrd.c index 66f6908d5d..40e512e216 100644 --- a/libs/esl/ivrd.c +++ b/libs/esl/ivrd.c @@ -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); }