From 834b41a9646f44f095235e1e73f4cb32b8141e63 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 11 Dec 2013 05:12:18 -0500 Subject: [PATCH] wrong error message --- debian/patches/sipwise/tcap.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/patches/sipwise/tcap.patch b/debian/patches/sipwise/tcap.patch index 114c68c19..b83f122df 100644 --- a/debian/patches/sipwise/tcap.patch +++ b/debian/patches/sipwise/tcap.patch @@ -12,7 +12,7 @@ +include ../../Makefile.modules --- /dev/null +++ b/modules/tcap/tcap_mod.c -@@ -0,0 +1,129 @@ +@@ -0,0 +1,128 @@ +#include +#include +#include @@ -103,10 +103,9 @@ + err = "No Content-Type found"; + if (!msg->content_type) + goto error; -+ err = "Truncated SIP packet"; ++ err = "Content-Type mismatch"; + if (msg->content_type->body.len < content_type.len) + goto error; -+ err = "Content-Type mismatch"; + if (strncasecmp(msg->content_type->body.s, content_type.s, content_type.len)) + goto error; +