From: Moises Silva Date: Sun, 11 May 2014 07:22:27 +0000 (-0400) Subject: freetdm: Fix raw GSM AT command execution not returning the proper token count X-Git-Tag: v1.4.4~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b93912ef2884e692825383545cb69073dbfe312;p=thirdparty%2Ffreeswitch.git freetdm: Fix raw GSM AT command execution not returning the proper token count --- diff --git a/libs/freetdm/src/ftmod/ftmod_gsm/ftmod_gsm.c b/libs/freetdm/src/ftmod/ftmod_gsm/ftmod_gsm.c index 257bad4510..3b8fa2f376 100755 --- a/libs/freetdm/src/ftmod/ftmod_gsm/ftmod_gsm.c +++ b/libs/freetdm/src/ftmod/ftmod_gsm/ftmod_gsm.c @@ -1295,7 +1295,7 @@ WAT_AT_CMD_RESPONSE_FUNC(gsm_exec_cb) } helper->cmd_pending = 0; - return 0; + return i; } // AT Command Handler