Module: sip-router
Branch: 3.3
Commit: 2f6b9bc710acff53dea899236a81a6f9d33ec4ff
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2f6b9bc…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Oct 10 10:49:16 2012 +0100
modules_k/xcap_server: Fixed small mistake in last xcap_server fix
(cherry picked from commit 10dafd75873f9f58037680e4d72cafc4c877583f)
---
modules_k/xcap_server/xcap_server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/xcap_server/xcap_server.c b/modules_k/xcap_server/xcap_server.c
index 0d68bb0..6d620f4 100644
--- a/modules_k/xcap_server/xcap_server.c
+++ b/modules_k/xcap_server/xcap_server.c
@@ -1342,7 +1342,7 @@ static int check_match_header(str body, str *etag)
if (etag == NULL)
return -1;
- if (etag->s || etag->len == 0)
+ if (etag->s == NULL || etag->len == 0)
return -1;
do