Fixed return without return_error().
authorJustin Seyster <jseyster@cs.sunysb.edu>
Thu, 17 Mar 2011 02:05:26 +0000 (22:05 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Thu, 17 Mar 2011 02:05:26 +0000 (22:05 -0400)
src/tracecut.c

index c7d6d0e2b1f943ed743ee3ec4f75cdc5cb68861d..72bdceb39eaa7b8bb28f7140800bd5ce3706c749 100644 (file)
@@ -252,7 +252,7 @@ tc_add_param (struct tc_tracecut *tc, const char *name,
 
   tc_err = check_param_type(type);
   if(tc_err != TC_SUCCESS) 
-    return tc_err;
+    return return_erro (tc, tc_err);
 
   if (lookup_param (tc, name) != NULL)
     return return_error (tc, TC_DUPLICATE);