Merged revisions 104037 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 22 Feb 2008 22:48:18 +0000 (22:48 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 22 Feb 2008 22:48:18 +0000 (22:48 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104037 | tilghman | 2008-02-22 16:45:14 -0600 (Fri, 22 Feb 2008) | 6 lines

Backwards debug message.
(closes issue #12052)
 Reported by: flefoll
 Patches:
       chan_sip.c.br14.patch_found-notfound uploaded by flefoll (license 244)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104038 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 458605b..156888b 100644 (file)
@@ -3004,7 +3004,7 @@ static int __sip_semi_ack(struct sip_pvt *p, int seqno, int resp, int sipmethod)
                        break;
                }
        }
-       ast_debug(1, "(Provisional) Stopping retransmission (but retaining packet) on '%s' %s %d: %s\n", p->callid, resp ? "Response" : "Request", seqno, res ? "Not Found" : "Found");
+       ast_debug(1, "(Provisional) Stopping retransmission (but retaining packet) on '%s' %s %d: %s\n", p->callid, resp ? "Response" : "Request", seqno, res == -1 ? "Not Found" : "Found");
        return res;
 }