From: Mark Spencer Date: Thu, 6 Jan 2000 10:19:32 +0000 (+0000) Subject: Version 0.1.2 from FTP X-Git-Tag: 0.1.3~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cec9e6563d5f9632a84aa00a05a693ac37164b8e;p=thirdparty%2Fasterisk.git Version 0.1.2 from FTP git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/config.c b/config.c index 3d81ebda76..f56eb069c0 100755 --- 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") ||