]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: Fix raw GSM AT command execution not returning the proper token count
authorMoises Silva <moy@sangoma.com>
Sun, 11 May 2014 07:22:27 +0000 (03:22 -0400)
committerMoises Silva <moy@sangoma.com>
Sun, 11 May 2014 07:22:27 +0000 (03:22 -0400)
libs/freetdm/src/ftmod/ftmod_gsm/ftmod_gsm.c

index 257bad45105f71ff69dd6e7b0324bc33c846f6c1..3b8fa2f3762032ff782d18407e65a775f3d1a5b3 100755 (executable)
@@ -1295,7 +1295,7 @@ WAT_AT_CMD_RESPONSE_FUNC(gsm_exec_cb)
        }
 
        helper->cmd_pending = 0;
-       return 0;
+       return i;
 }
 
 // AT Command Handler