src/utils_cmd_putval.[ch]: Allow identifiers to include spaces.
[collectd.git] / src / unixsock.c
index c2e1f30..6a8628a 100644 (file)
@@ -239,11 +239,11 @@ static void *us_handle_client (void *arg)
 
                if (strcasecmp (fields[0], "getval") == 0)
                {
-                       handle_getval (fhout, fields, fields_num);
+                       handle_getval (fhout, buffer);
                }
                else if (strcasecmp (fields[0], "putval") == 0)
                {
-                       handle_putval (fhout, fields, fields_num);
+                       handle_putval (fhout, buffer);
                }
                else if (strcasecmp (fields[0], "listval") == 0)
                {