Module: sip-router
Branch: master
Commit: 2759deb340539d2035fe5c18765f5800eb52180b
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2759deb340539d2035fe5c18765f5800eb52180b

Author: Juha Heinanen <[email protected]>
Committer: Juha Heinanen <[email protected]>
Date:   Tue Jun  1 16:15:13 2010 +0300

modules_k/textops: fixed typo in starts_with() example

- Thanks to Inaki for pointing out.

---

 modules_k/textops/README                |    2 +-
 modules_k/textops/doc/textops_admin.xml |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules_k/textops/README b/modules_k/textops/README
index fdd4985..9797b57 100644
--- a/modules_k/textops/README
+++ b/modules_k/textops/README
@@ -882,7 +882,7 @@ if(cmp_istr("$...@you", "kamai...@you"))
 
    Example 1.33. starts_with usage
 ...
-if(cmp_str("$rU", "+358"))
+if (starts_with("$rU", "+358"))
 {
     # do interesting stuff here
 }
diff --git a/modules_k/textops/doc/textops_admin.xml 
b/modules_k/textops/doc/textops_admin.xml
index 7cd8832..05e8240 100644
--- a/modules_k/textops/doc/textops_admin.xml
+++ b/modules_k/textops/doc/textops_admin.xml
@@ -1224,7 +1224,7 @@ if(cmp_istr("$...@you", "kamai...@you"))
                <title><function>starts_with</function> usage</title>
                <programlisting format="linespecific">
 ...
-if(cmp_str("$rU", "+358"))
+if (starts_with("$rU", "+358"))
 {
     # do interesting stuff here
 }


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to