Răsfoiți Sursa

modules_k/textops: fixed typo in starts_with() example

- Thanks to Inaki for pointing out.
Juha Heinanen 15 ani în urmă
părinte
comite
2759deb340
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      modules_k/textops/README
  2. 1 1
      modules_k/textops/doc/textops_admin.xml

+ 1 - 1
modules_k/textops/README

@@ -882,7 +882,7 @@ if(cmp_istr("$rU@you", "kamailio@YOU"))
 
    Example 1.33. starts_with usage
 ...
-if(cmp_str("$rU", "+358"))
+if (starts_with("$rU", "+358"))
 {
     # do interesting stuff here
 }

+ 1 - 1
modules_k/textops/doc/textops_admin.xml

@@ -1224,7 +1224,7 @@ if(cmp_istr("$rU@you", "kamailio@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
 }