opensips/opensips.patch.reg

changeset 397
c98ae03f4266
parent 382
b972dc20871f
child 547
1c75a8bb0fec
     1.1 --- a/opensips/opensips.patch.reg	Thu Dec 01 13:24:24 2011 +0100
     1.2 +++ b/opensips/opensips.patch.reg	Thu Dec 01 13:33:32 2011 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  diff -Nau modules/registrar/save.c.orig modules/registrar/save.c
     1.5  --- modules/registrar/save.c.orig	2008-08-03 15:53:57.000000000 +0200
     1.6  +++ modules/registrar/save.c	2009-03-24 21:44:46.182865192 +0100
     1.7 -@@ -74,7 +74,7 @@
     1.8 +@@ -76,7 +76,7 @@
     1.9   struct save_ctx {
    1.10   	unsigned int flags;
    1.11   	str aor;
    1.12 @@ -11,7 +11,7 @@
    1.13   };
    1.14   
    1.15   
    1.16 -@@ -386,7 +386,7 @@
    1.17 +@@ -388,7 +388,7 @@
    1.18   		if (e == 0)
    1.19   			continue;
    1.20   
    1.21 @@ -20,7 +20,7 @@
    1.22   			if (_sctx->flags&REG_SAVE_FORCE_REG_FLAG) {
    1.23   				/* we are overflowing the number of maximum contacts,
    1.24   				   so remove the first (oldest) one to prevent this */
    1.25 -@@ -492,6 +492,7 @@
    1.26 +@@ -494,6 +494,7 @@
    1.27   										contact_t* _c, struct save_ctx *_sctx)
    1.28   {
    1.29   	ucontact_info_t *ci;
    1.30 @@ -28,7 +28,7 @@
    1.31   	ucontact_t* c;
    1.32   	int e;
    1.33   	unsigned int cflags;
    1.34 -@@ -552,7 +553,7 @@
    1.35 +@@ -554,7 +555,7 @@
    1.36   				continue;
    1.37   
    1.38   			/* we need to add a new contact -> too many ?? */
    1.39 @@ -37,7 +37,7 @@
    1.40   				if (_sctx->flags&REG_SAVE_FORCE_REG_FLAG) {
    1.41   					/* we are overflowing the number of maximum contacts,
    1.42   					   so remove the first (oldest) one to prevent this */
    1.43 -@@ -579,6 +580,23 @@
    1.44 +@@ -581,6 +582,23 @@
    1.45   				goto error;
    1.46   			}
    1.47   

mercurial