diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 17:31:09 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 17:31:09 +0000 |
commit | b09f77f36a2f6ade6695bfd83095f3400bce0f01 (patch) | |
tree | 3ac5cdaba2aea69c9a76e5801206a9c23523d598 /zwgc/subscriptions.c | |
parent | aee56099e7f608361812cd1509e1f2449057ca21 (diff) |
Changed index() to strchr() [ANSI]
Diffstat (limited to 'zwgc/subscriptions.c')
-rw-r--r-- | zwgc/subscriptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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') |