X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fclient_util.c;h=d4274004b91b50f8e15be7f0c54273dc47ecaf3c;hb=refs%2Ftags%2Fupstream%2F2.6.1p1;hp=ef28c1a87ed0e881a69b9d76e2fb569cf97d0e2e;hpb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;p=debian%2Famanda diff --git a/client-src/client_util.c b/client-src/client_util.c index ef28c1a..d427400 100644 --- a/client-src/client_util.c +++ b/client-src/client_util.c @@ -1006,7 +1006,7 @@ run_client_script( if (BSTRNCMP(line, "PROPERTY ") == 0) { char *property_name, *property_value; property_name = line + 9; - property_value = index(property_name,' '); + property_value = strchr(property_name,' '); if (property_value == NULL) { char *msg = g_strdup_printf( "ERROR %s: Bad output property: %s",