Code

src/utils_threshold.c: Fix a simple typo.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 15 Apr 2008 14:23:03 +0000 (16:23 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 15 Apr 2008 14:23:03 +0000 (16:23 +0200)
src/utils_threshold.c

index 0682b168aa83f540ad16d8c76c1ef4d68e8653cc..6c131ba62644c3c9f99228e53b812a5fb6ade513 100644 (file)
@@ -114,7 +114,7 @@ static int ut_threshold_add (const threshold_t *th)
     return (-1);
   }
   memcpy (th_copy, th, sizeof (threshold_t));
-  th_copy = NULL;
+  th_ptr = NULL;
 
   DEBUG ("ut_threshold_add: Adding entry `%s'", name);