Module: sip-router
Branch: master
Commit: b41744eb10217dbd5a94c9545eb062cef08185bf
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b41744e…
Author: Marius Bucur <marius.bucur(a)1and1.ro>
Committer: Marius Bucur <marius.bucur(a)1and1.ro>
Date: Wed Jan 19 16:35:29 2011 +0200
modules_k/presence fixed issue when sending resubscribes
Fixed an issue regarding sending resubscribes (within the same dialog) when in DB_ONLY
mode.
---
modules_k/presence/subscribe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/presence/subscribe.c b/modules_k/presence/subscribe.c
index 6838aee..e96efc0 100644
--- a/modules_k/presence/subscribe.c
+++ b/modules_k/presence/subscribe.c
@@ -1211,7 +1211,7 @@ int get_stored_info(struct sip_msg* msg, subs_t* subs, int*
reply_code,
lock_release(&subs_htable[i].lock);
}
- if(dbmode == DB_FALLBACK)
+ if(dbmode != DB_MEMORY_ONLY)
{
return get_database_info(msg, subs, reply_code, reply_str);
}