Version 0.1.2 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2000-01-06 10:19:32 +00:00
parent cb625a6d3c
commit cec9e6563d

View File

@@ -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") ||