]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-2746 found this assert in a BT on the conf box
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 24 Oct 2012 17:34:03 +0000 (12:34 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 24 Oct 2012 17:34:03 +0000 (12:34 -0500)
libs/xmlrpc-c/lib/abyss/src/response.c

index 235d787ff3a919ff2d9f5dce28ec762ecc1cd91f..febd5af0322b3baceabc12f1c48be95e84cc8616 100644 (file)
@@ -327,7 +327,12 @@ ResponseWriteStart(TSession * const sessionP) {
 -----------------------------------------------------------------------------*/
     struct _TServer * const srvP = ConnServer(sessionP->connP)->srvP;
 
-    assert(!sessionP->responseStarted);
+    //assert(!sessionP->responseStarted);
+
+       if (sessionP->responseStarted) {
+               TraceMsg("Abyss client called ResponseWriteStart() more than once\n");
+               return FALSE;
+       }
 
     if (sessionP->status == 0) {
         /* Handler hasn't set status.  That's an error */