[Asterisk-cvs] asterisk config.c,1.25,1.26
markster at lists.digium.com
markster at lists.digium.com
Sun Aug 8 18:36:31 CDT 2004
Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv20094
Modified Files:
config.c
Log Message:
Allow on/off (bug #2233)
Index: config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/config.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- config.c 9 Jul 2004 10:08:09 -0000 1.25
+++ config.c 8 Aug 2004 22:22:30 -0000 1.26
@@ -109,7 +109,8 @@
!strcasecmp(s, "true") ||
!strcasecmp(s, "y") ||
!strcasecmp(s, "t") ||
- !strcasecmp(s, "1"))
+ !strcasecmp(s, "1") ||
+ !strcasecmp(s, "on"))
return -1;
return 0;
}
@@ -123,7 +124,8 @@
!strcasecmp(s, "false") ||
!strcasecmp(s, "n") ||
!strcasecmp(s, "f") ||
- !strcasecmp(s, "0"))
+ !strcasecmp(s, "0") ||
+ !strcasecmp(s, "off"))
return -1;
return 0;
}
More information about the svn-commits
mailing list