diff --git a/doc/CODING-GUIDELINES b/doc/CODING-GUIDELINES index 42d54aceb6bd5c485aebe7a1f2ccdc97d6fa8a7a..7e4679be722d1f29a217cfcf7130dc0ae0d7d542 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