Module: sip-router
Branch: master
Commit: 10dafd75873f9f58037680e4d72cafc4c877583f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=10dafd7…
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
---
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