Browse Source

cookbooks/devel/pseudovariables: updated var names in the examples

Daniel-Constantin Mierla 1 month ago
parent
commit
9ff0bb3fa9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/cookbooks/devel/pseudovariables.md

+ 2 - 2
docs/cookbooks/devel/pseudovariables.md

@@ -282,7 +282,7 @@ Example:
 ``` c
 #!define ABC xyz
 
-xlog("ABC: $def(ABC)\n");
+xlog("ABC: $defs(ABC)\n");
 ```
 
 ### $defv(name) - Unquoted Defined Value
@@ -296,7 +296,7 @@ Example:
 ``` c
 #!define ABC "xyz"
 
-xlog("ABC: $def(ABC)\n");
+xlog("ABC: $defv(ABC)\n");
 ```
 
 ### $di - Diversion header URI