]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5911 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 25 Oct 2013 18:51:32 +0000 (23:51 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 25 Oct 2013 18:51:43 +0000 (23:51 +0500)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/tport/tport.c

index 5dc89e0a248a68a1052d0cce9a44e83083296f6d..bd0253e8c0c902142094eb5f44813e57b14b17c2 100644 (file)
@@ -1 +1 @@
-Tue Oct 22 16:25:25 CDT 2013
+Fri Oct 25 23:51:29 CDT 2013
index aa257f79f857c8564a25e525822a061615879e07..62193e9135b821f90b6e8d1a99fcc0d7352c5c65 100644 (file)
@@ -2094,6 +2094,10 @@ void tport_close(tport_t *self)
   SU_DEBUG_5(("%s(%p): " TPN_FORMAT "\n",
              __func__, (void *)self, TPN_ARGS(self->tp_name)));
 
+  if (self->tp_refs == -1) {
+         self->tp_refs = 0;
+  }
+
   if (self->tp_closed || !tport_is_secondary(self))
     return;