[sr-dev] git:master: pv Fix typo in README

Olle E. Johansson oej at edvina.net
Sun Oct 14 21:57:45 CEST 2012


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

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date:   Sun Oct 14 21:40:36 2012 +0200

pv Fix typo in README

---

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

diff --git a/modules_k/pv/README b/modules_k/pv/README
index cbcb584..162b7f0 100644
--- a/modules_k/pv/README
+++ b/modules_k/pv/README
@@ -231,7 +231,7 @@ if (is_int("$var(foo)")) {
 
    Example 1.7. typeof() usage
 ...
-if (trypeof("$var(foo)", "str")) {
+if (typeof("$var(foo)", "str")) {
     xdbg("variable foo is a string\n");
 }
 ...
diff --git a/modules_k/pv/doc/pv_admin.xml b/modules_k/pv/doc/pv_admin.xml
index 51f6c40..68bbc9c 100644
--- a/modules_k/pv/doc/pv_admin.xml
+++ b/modules_k/pv/doc/pv_admin.xml
@@ -237,7 +237,7 @@ if (is_int("$var(foo)")) {
 				<title><function>typeof()</function> usage</title>
 				<programlisting format="linespecific">
 ...
-if (trypeof("$var(foo)", "str")) {
+if (typeof("$var(foo)", "str")) {
     xdbg("variable foo is a string\n");
 }
 ...




More information about the sr-dev mailing list