Module: sip-router
Branch: 3.3
Commit: 3527aed1008229ae923391711c24dc7c0866a4a7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3527aed…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Wed Jun 13 16:25:12 2012 +0300
modules_k/presence_[dialoginfo|mwi|reginfo]: fixed test of wrong variable
(cherry picked from commit 9a310fe940e4b93e13539ccfbd6137ba76dcce87)
---
.../presence_dialoginfo/presence_dialoginfo.c | 2 +-
modules_k/presence_mwi/presence_mwi.c | 2 +-
modules_k/presence_reginfo/presence_reginfo.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules_k/presence_dialoginfo/presence_dialoginfo.c
b/modules_k/presence_dialoginfo/presence_dialoginfo.c
index 3577531..d071b52 100644
--- a/modules_k/presence_dialoginfo/presence_dialoginfo.c
+++ b/modules_k/presence_dialoginfo/presence_dialoginfo.c
@@ -99,7 +99,7 @@ static int mod_init(void)
}
pres_add_event = pres.add_event;
- if (add_event == NULL) {
+ if (pres_add_event == NULL) {
LM_ERR("could not import add_event\n");
return -1;
}
diff --git a/modules_k/presence_mwi/presence_mwi.c
b/modules_k/presence_mwi/presence_mwi.c
index 1b2e8f3..4d00ec6 100644
--- a/modules_k/presence_mwi/presence_mwi.c
+++ b/modules_k/presence_mwi/presence_mwi.c
@@ -105,7 +105,7 @@ static int mod_init(void)
}
pres_add_event = pres.add_event;
- if (add_event == NULL) {
+ if (pres_add_event == NULL) {
LM_ERR("could not import add_event\n");
return -1;
}
diff --git a/modules_k/presence_reginfo/presence_reginfo.c
b/modules_k/presence_reginfo/presence_reginfo.c
index d3bbcb4..00236da 100644
--- a/modules_k/presence_reginfo/presence_reginfo.c
+++ b/modules_k/presence_reginfo/presence_reginfo.c
@@ -81,7 +81,7 @@ static int mod_init(void)
}
pres_add_event = pres.add_event;
- if (add_event == NULL) {
+ if (pres_add_event == NULL) {
LM_ERR("could not import add_event\n");
return -1;
}