Imported Upstream version 2.6.1p1
[debian/amanda] / client-src / client_util.c
index ef28c1a87ed0e881a69b9d76e2fb569cf97d0e2e..d4274004b91b50f8e15be7f0c54273dc47ecaf3c 100644 (file)
@@ -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",