Code

src/utils_cache.c: Fix a bug that was introduced by the preceding merge.
authorFlorian Forster <octo@huhu.verplant.org>
Sat, 22 Mar 2008 08:45:41 +0000 (09:45 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 22 Mar 2008 08:45:41 +0000 (09:45 +0100)
src/utils_cache.c

index c471ee28d29e1f87bf6a38a856debb932b7bf1c2..d1dd027113f0692fe895d34604306bbe22bae591 100644 (file)
@@ -467,12 +467,6 @@ int uc_get_rate_by_name (const char *name, gauge_t **ret_values, size_t *ret_val
   cache_entry_t *ce = NULL;
   int status = 0;
 
-  if (FORMAT_VL (name, sizeof (name), vl, ds) != 0)
-  {
-    ERROR ("uc_get_rate: FORMAT_VL failed.");
-    return (NULL);
-  }
-
   pthread_mutex_lock (&cache_lock);
 
   if (c_avl_get (cache_tree, name, (void *) &ce) == 0)