summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CODING-GUIDELINES2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES
index 42d54aceb..7e4679be7 100644
--- a/doc/CODING-GUIDELINES
+++ b/doc/CODING-GUIDELINES
@@ -384,7 +384,7 @@ in having code like this:
However, the ast_strdup and ast_strdup functions will happily accept a NULL
argument without generating an error. The same code can be written as:
- newstr = strdup(str);
+ newstr = ast_strdup(str);
* CLI Commands