[asterisk-commits] anthonyl: branch anthonyl/config-extconfigspace
r50373 - in /team/anthonyl/co...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Jan 10 10:58:57 MST 2007
Author: anthonyl
Date: Wed Jan 10 11:58:57 2007
New Revision: 50373
URL: http://svn.digium.com/view/asterisk?view=rev&rev=50373
Log:
use strchr rather then strstr
Modified:
team/anthonyl/config-extconfigspace/ (props changed)
team/anthonyl/config-extconfigspace/main/config.c
Propchange: team/anthonyl/config-extconfigspace/
------------------------------------------------------------------------------
svnmerge-integrated = /trunk:1-50028
Modified: team/anthonyl/config-extconfigspace/main/config.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/config-extconfigspace/main/config.c?view=diff&rev=50373&r1=50372&r2=50373
==============================================================================
--- team/anthonyl/config-extconfigspace/main/config.c (original)
+++ team/anthonyl/config-extconfigspace/main/config.c Wed Jan 10 11:58:57 2007
@@ -1119,7 +1119,7 @@
stringp = v->value;
driver = strsep(&stringp, ",");
- if ((tmpstr = strstr(stringp, "\"")))
+ if ((tmpstr = strchr(stringp, '\"')))
stringp = tmpstr;
/* check if the database text starts with a double quote */
More information about the asterisk-commits
mailing list