mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 10:28:32 +00:00
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:
2
config.c
2
config.c
@@ -70,6 +70,8 @@ void ast_destroy(struct ast_config *ast)
|
|||||||
|
|
||||||
int ast_true(char *s)
|
int ast_true(char *s)
|
||||||
{
|
{
|
||||||
|
if (!s)
|
||||||
|
return 0;
|
||||||
/* Determine if this is a true value */
|
/* Determine if this is a true value */
|
||||||
if (!strcasecmp(s, "yes") ||
|
if (!strcasecmp(s, "yes") ||
|
||||||
!strcasecmp(s, "true") ||
|
!strcasecmp(s, "true") ||
|
||||||
|
|||||||
Reference in New Issue
Block a user