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 0682b16..6c131ba 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);