# HG changeset patch # User aurel # Date 1165180671 0 # Node ID f43100cbeee5e4771891af14b63da7ef2148334d # Parent c355981eebfd26776711ef5784486e9403d32c7c use strchr() instead of index() diff -r c355981eebfd -r f43100cbeee5 stream/stream_dvb.c --- 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;