[sr-dev] git:master:5d50171a: ipops: fixed wrong location of double quites in example in docs

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 15 19:06:27 CEST 2015


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-09-15T19:05:12+02:00

ipops: fixed wrong location of double quites in example in docs

- reported by GH#327

---

Modified: modules/ipops/README
Modified: modules/ipops/doc/ipops_admin.xml

---

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

---

diff --git a/modules/ipops/README b/modules/ipops/README
index b213b03..bc48751 100644
--- a/modules/ipops/README
+++ b/modules/ipops/README
@@ -453,10 +453,10 @@ if (srv_query ("_sip._udp.example.com", "udp") > 0) {
   $var(cnt) = $srvquery(udp=>count);
   $var(i) = 0;
   while ($var(i) < $var(cnt)) {
-    xlog ("port[$var(i)] $srvquery(udp=>port[$var(i)])\n)";
-    xlog ("priority[$var(i)] $srvquery(udp=>priority[$var(i)])\n)";
-    xlog ("target[$var(i)] $srvquery(udp=>target[$var(i)])\n)";
-    xlog ("weight[$var(i)] $srvquery(udp=>weight[$var(i)])\n)";
+    xlog ("port[$var(i)] $srvquery(udp=>port[$var(i)])\n");
+    xlog ("priority[$var(i)] $srvquery(udp=>priority[$var(i)])\n");
+    xlog ("target[$var(i)] $srvquery(udp=>target[$var(i)])\n");
+    xlog ("weight[$var(i)] $srvquery(udp=>weight[$var(i)])\n");
     $var(i) = $var(i) + 1;
   }
 }
diff --git a/modules/ipops/doc/ipops_admin.xml b/modules/ipops/doc/ipops_admin.xml
index 90c4168..4d77b9e 100644
--- a/modules/ipops/doc/ipops_admin.xml
+++ b/modules/ipops/doc/ipops_admin.xml
@@ -752,10 +752,10 @@ if (srv_query ("_sip._udp.example.com", "udp") > 0) {
   $var(cnt) = $srvquery(udp=>count);
   $var(i) = 0;
   while ($var(i) < $var(cnt)) {
-    xlog ("port[$var(i)] $srvquery(udp=>port[$var(i)])\n)";
-    xlog ("priority[$var(i)] $srvquery(udp=>priority[$var(i)])\n)";
-    xlog ("target[$var(i)] $srvquery(udp=>target[$var(i)])\n)";
-    xlog ("weight[$var(i)] $srvquery(udp=>weight[$var(i)])\n)";
+    xlog ("port[$var(i)] $srvquery(udp=>port[$var(i)])\n");
+    xlog ("priority[$var(i)] $srvquery(udp=>priority[$var(i)])\n");
+    xlog ("target[$var(i)] $srvquery(udp=>target[$var(i)])\n");
+    xlog ("weight[$var(i)] $srvquery(udp=>weight[$var(i)])\n");
     $var(i) = $var(i) + 1;
   }
 }




More information about the sr-dev mailing list