Module: kamailio
Branch: master
Commit: 5d50171a4443eeafa5734afec58bbf41c07fece7
URL:
https://github.com/kamailio/kamailio/commit/5d50171a4443eeafa5734afec58bbf4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/5d50171a4443eeafa5734afec58bbf4…
Patch:
https://github.com/kamailio/kamailio/commit/5d50171a4443eeafa5734afec58bbf4…
---
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;
}
}