Version 0.1.2 from FTP
authorMark Spencer <markster@digium.com>
Thu, 6 Jan 2000 10:19:32 +0000 (10:19 +0000)
committerMark Spencer <markster@digium.com>
Thu, 6 Jan 2000 10:19:32 +0000 (10:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

config.c

index 3d81ebd..f56eb06 100755 (executable)
--- a/config.c
+++ b/config.c
@@ -70,6 +70,8 @@ void ast_destroy(struct ast_config *ast)
 
 int ast_true(char *s)
 {
+       if (!s)
+               return 0;
        /* Determine if this is a true value */
        if (!strcasecmp(s, "yes") ||
            !strcasecmp(s, "true") ||