opensips/opensips.patch.reg

changeset 547
1c75a8bb0fec
parent 397
c98ae03f4266
     1.1 --- a/opensips/opensips.patch.reg	Tue Aug 28 18:31:20 2012 +0200
     1.2 +++ b/opensips/opensips.patch.reg	Tue Aug 28 18:31:35 2012 +0200
     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 -@@ -76,7 +76,7 @@
     1.8 +@@ -77,7 +77,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 -@@ -388,7 +388,7 @@
    1.17 +@@ -394,7 +394,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 -@@ -494,6 +494,7 @@
    1.26 +@@ -501,6 +501,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 -@@ -554,7 +555,7 @@
    1.35 +@@ -561,7 +562,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 -@@ -581,6 +582,23 @@
    1.44 +@@ -588,6 +589,23 @@
    1.45   				goto error;
    1.46   			}
    1.47   

mercurial