X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Funixsock.c;h=73037e49b2e2b7a05739139c92911e1d3a33734d;hb=cc893903f8453dc96a797b319bdd4e294052de6f;hp=5454fd8c273eb948b9d119e4d4dab73414c0636f;hpb=362a519e00d50fc3657d485135075f753ec71bab;p=collectd.git diff --git a/src/unixsock.c b/src/unixsock.c index 5454fd8c..73037e49 100644 --- a/src/unixsock.c +++ b/src/unixsock.c @@ -25,9 +25,9 @@ **/ #include "collectd.h" + #include "common.h" #include "plugin.h" -#include "configfile.h" #include "utils_cmd_flush.h" #include "utils_cmd_getval.h" @@ -289,7 +289,7 @@ static void *us_handle_client (void *arg) if (strcasecmp (fields[0], "getval") == 0) { - handle_getval (fhout, buffer); + cmd_handle_getval (fhout, buffer); } else if (strcasecmp (fields[0], "getthreshold") == 0) { @@ -297,11 +297,11 @@ static void *us_handle_client (void *arg) } else if (strcasecmp (fields[0], "putval") == 0) { - handle_putval (fhout, buffer); + cmd_handle_putval (fhout, buffer); } else if (strcasecmp (fields[0], "listval") == 0) { - handle_listval (fhout, buffer); + cmd_handle_listval (fhout, buffer); } else if (strcasecmp (fields[0], "putnotif") == 0) { @@ -309,7 +309,7 @@ static void *us_handle_client (void *arg) } else if (strcasecmp (fields[0], "flush") == 0) { - handle_flush (fhout, buffer); + cmd_handle_flush (fhout, buffer); } else {