diff -r 8ddd39bcf2ec -r b972dc20871f opensips/opensips.patch.reg --- a/opensips/opensips.patch.reg Wed Sep 21 14:31:41 2011 +0200 +++ b/opensips/opensips.patch.reg Wed Sep 21 16:06:14 2011 +0200 @@ -2,7 +2,7 @@ diff -Nau modules/registrar/save.c.orig modules/registrar/save.c --- modules/registrar/save.c.orig 2008-08-03 15:53:57.000000000 +0200 +++ modules/registrar/save.c 2009-03-24 21:44:46.182865192 +0100 -@@ -76,7 +76,7 @@ +@@ -74,7 +74,7 @@ struct save_ctx { unsigned int flags; str aor; @@ -11,7 +11,7 @@ }; -@@ -388,7 +388,7 @@ +@@ -386,7 +386,7 @@ if (e == 0) continue; @@ -20,7 +20,7 @@ if (_sctx->flags®_SAVE_FORCE_REG_FLAG) { /* we are overflowing the number of maximum contacts, so remove the first (oldest) one to prevent this */ -@@ -494,6 +494,7 @@ +@@ -492,6 +492,7 @@ contact_t* _c, struct save_ctx *_sctx) { ucontact_info_t *ci; @@ -28,7 +28,7 @@ ucontact_t* c; int e; unsigned int cflags; -@@ -554,7 +555,7 @@ +@@ -552,7 +553,7 @@ continue; /* we need to add a new contact -> too many ?? */ @@ -37,7 +37,7 @@ if (_sctx->flags®_SAVE_FORCE_REG_FLAG) { /* we are overflowing the number of maximum contacts, so remove the first (oldest) one to prevent this */ -@@ -581,6 +582,23 @@ +@@ -579,6 +580,23 @@ goto error; }