unixsock plugin: Remove the "GETTHRESHOLD" command.
authorFlorian Forster <octo@noris.net>
Wed, 8 Dec 2010 12:23:41 +0000 (13:23 +0100)
committerFlorian Forster <octo@noris.net>
Wed, 8 Dec 2010 12:23:41 +0000 (13:23 +0100)
src/unixsock.c

index 6de1395..d729477 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "utils_cmd_flush.h"
 #include "utils_cmd_getval.h"
-#include "utils_cmd_getthreshold.h"
 #include "utils_cmd_listval.h"
 #include "utils_cmd_putval.h"
 #include "utils_cmd_putnotif.h"
@@ -275,10 +274,6 @@ static void *us_handle_client (void *arg)
                {
                        handle_getval (fhout, buffer);
                }
-               else if (strcasecmp (fields[0], "getthreshold") == 0)
-               {
-                       handle_getthreshold (fhout, buffer);
-               }
                else if (strcasecmp (fields[0], "putval") == 0)
                {
                        handle_putval (fhout, buffer);