[sr-dev] git:master:fb23d67b: acc_json: replaced angle brackets with xml tokens

Daniel-Constantin Mierla miconda at gmail.com
Sun Jan 13 16:45:38 CET 2019


Module: kamailio
Branch: master
Commit: fb23d67b396bafb51f9c971e2546df0faff54262
URL: https://github.com/kamailio/kamailio/commit/fb23d67b396bafb51f9c971e2546df0faff54262

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-01-13T16:45:23+01:00

acc_json: replaced angle brackets with xml tokens

---

Modified: src/modules/acc_json/doc/acc_json_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/fb23d67b396bafb51f9c971e2546df0faff54262.diff
Patch: https://github.com/kamailio/kamailio/commit/fb23d67b396bafb51f9c971e2546df0faff54262.patch

---

diff --git a/src/modules/acc_json/doc/acc_json_admin.xml b/src/modules/acc_json/doc/acc_json_admin.xml
index ea1fbc446c..2dcfbcd0f2 100644
--- a/src/modules/acc_json/doc/acc_json_admin.xml
+++ b/src/modules/acc_json/doc/acc_json_admin.xml
@@ -216,16 +216,16 @@ route[RUN_ACC_PUBLISH] {
       $var(count) = $var(count) + 1;
       xinfo("[RUN_ACC_PUBLISH][$var(q_size)][$var(count)][$mqk(acc_events)][$mqv(acc_events)]\n");
       $var(res) = http_connect_raw("nsqd", "", "application/json", $mqv(acc_events), "$var(nsq_res)");
-      if ($var(res) < 0) {
+      if ($var(res) < 0) {
          xerr("[RUN_ACC_PUBLISH][$var(res)] http_connect_raw: timeout or error !\n");
          mq_add("acc_events", "acc_key", "$mqv(acc_events)");
-      } else if ($var(res) < 200 || $var(res) > 299) {
+      } else if ($var(res) < 200 || $var(res) > 299) {
          xerr("[RUN_ACC_PUBLISH][$var(res)] http unexpected response code !\n");
          mq_add("acc_dead_letter_queue", "acc_key", "$mqv(acc_events)");
          return;
       }
    }
-   if ($var(count) > 0 ) {
+   if ($var(count) > 0 ) {
       xinfo("[RUN_CDR_PUBLISH]done count[$var(count)]\n");
    }
 }




More information about the sr-dev mailing list