From b09f77f36a2f6ade6695bfd83095f3400bce0f01 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 24 Sep 1993 17:31:09 +0000 Subject: Changed index() to strchr() [ANSI] --- zwgc/subscriptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zwgc/subscriptions.c') diff --git a/zwgc/subscriptions.c b/zwgc/subscriptions.c index c6e6f8a..ff18c06 100644 --- a/zwgc/subscriptions.c +++ b/zwgc/subscriptions.c @@ -272,7 +272,7 @@ static void load_subscriptions_from_file(file) /* <<<>>> * The below does NOT work is the recipient field is "": */ - if (temp = index(line, '#')) + if (temp = strchr(line, '#')) *temp = '\0'; for (temp=line; *temp && *temp==' '; temp++) ; if (!*temp || *temp=='\n') -- cgit v1.2.3