[SR-Dev] PATCH: siputils

Ovidiu Sas osas at voipembedded.com
Wed Mar 11 03:44:58 CET 2009


diff --git a/modules/siputils/checks.c b/modules/siputils/checks.c
index af286de..37bceed 100644
--- a/modules/siputils/checks.c
+++ b/modules/siputils/checks.c
@@ -38,6 +38,7 @@
 #include "../../parser/parse_param.h"
 #include "../../ut.h"                   /* Handy utilities */
 #include "../../lib/srdb1/db.h"                /* Database API */
+#include "../../lib/kcore/parser_helpers.h"
 #include "../../dset.h"
 #include "../../pvar.h"
 #include "checks.h"
diff --git a/modules/siputils/contact_ops.c b/modules/siputils/contact_ops.c
index 0d3d526..6601092 100644
--- a/modules/siputils/contact_ops.c
+++ b/modules/siputils/contact_ops.c
@@ -146,6 +146,7 @@ decode_contact (struct sip_msg *msg,char
*unused1,char *unused2)
        int res;

        uri.s = 0;
+       uri.len = 0;

 #ifdef DEBUG
        fprintf (stdout,"---START--------DECODE CONTACT-----------------\n");
diff --git a/modules/siputils/ring.c b/modules/siputils/ring.c
index 37c21a8..11c0662 100644
--- a/modules/siputils/ring.c
+++ b/modules/siputils/ring.c
@@ -44,6 +44,7 @@
 #include "../../dprint.h"
 #include "../../error.h"
 #include "../../ut.h"
+#include "../../lib/kcore/km_ut.h"
 #include "../../mem/mem.h"
 #include "../../mem/shm_mem.h"
 #include "../../timer.h"



More information about the sr-dev mailing list