summaryrefslogtreecommitdiff
path: root/zwgc/subscriptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/subscriptions.c')
-rw-r--r--zwgc/subscriptions.c2
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')