Module: kamailio
Branch: master
Commit: c31bb61739c9d38c7a489a5562861e2ee5dcf503
URL:
https://github.com/kamailio/kamailio/commit/c31bb61739c9d38c7a489a5562861e2…
Author: Emmanuel Schmidbauer <emmanuel(a)getweave.com>
Committer: Emmanuel Schmidbauer <emmanuel(a)getweave.com>
Date: 2016-05-12T12:13:11-04:00
nsq: fix missing bracket
---
Modified: modules/nsq/nsq_pua.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c31bb61739c9d38c7a489a5562861e2…
Patch:
https://github.com/kamailio/kamailio/commit/c31bb61739c9d38c7a489a5562861e2…
---
diff --git a/modules/nsq/nsq_pua.c b/modules/nsq/nsq_pua.c
index f16b352..b5ff38f 100644
--- a/modules/nsq/nsq_pua.c
+++ b/modules/nsq/nsq_pua.c
@@ -327,7 +327,7 @@ int nsq_pua_publish_mwi_to_presentity(struct json_object *json_obj) {
expires += (int)time(NULL);
}
- if (mwi_new.len > 0)
+ if (mwi_new.len > 0) {
sprintf(body, MWI_BODY, mwi_waiting.len, mwi_waiting.s,
mwi_account.len, mwi_account.s, mwi_new.len, mwi_new.s,
mwi_saved.len, mwi_saved.s, mwi_urgent.len, mwi_urgent.s,