changeset 21464:f43100cbeee5

use strchr() instead of index()
author aurel
date Sun, 03 Dec 2006 21:17:51 +0000
parents c355981eebfd
children 64a2ae04a33a
files stream/stream_dvb.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvb.c	Sun Dec 03 21:06:52 2006 +0000
+++ b/stream/stream_dvb.c	Sun Dec 03 21:17:51 2006 +0000
@@ -169,7 +169,7 @@
 		if((line[0] == '#') || (strlen(line) == 0))
 			continue;
 
-		colon = index(line, ':');
+		colon = strchr(line, ':');
 		if(colon)
 		{
 			k = colon - line;