From 8a7604aea48c1adb5beb7ca279c50bf4704986b2 Mon Sep 17 00:00:00 2001 From: jun7 Date: Wed, 23 May 2018 05:14:29 +0900 Subject: [PATCH] Fix wrong choice of function --- wyebrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wyebrun.c b/wyebrun.c index 9061402..936ad36 100644 --- a/wyebrun.c +++ b/wyebrun.c @@ -486,7 +486,7 @@ gboolean ipccb(GIOChannel *ch, GIOCondition c, gpointer p) Com type = *unesc; char *id = unesc + 1; - char *arg = strstr(unesc, ":"); + char *arg = strchr(unesc, ':'); *arg++ = '\0'; #if DEBUG