From: Ari Johnson Date: Wed, 1 Feb 2012 04:14:43 +0000 (-0500) Subject: Cherry-pick Unidle_Times() fix from 0.73-development branch X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=50c9906901adc027f9c54ba2a1e1e0dafb2fb130;p=cobramush.git Cherry-pick Unidle_Times() fix from 0.73-development branch --- diff --git a/src/bsd.c b/src/bsd.c index b4bd7a9..60ed106 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -4737,7 +4737,7 @@ FUNCTION(fun_idle_total) } /* ARGSUSED */ -FUNCTION(fun_idle_times) +FUNCTION(fun_unidle_times) { DESC *match = lookup_desc(executor, args[0]); diff --git a/src/function.c b/src/function.c index ef61c5d..e4cded5 100644 --- a/src/function.c +++ b/src/function.c @@ -737,7 +737,7 @@ FUNTAB flist[] = { {"ULDEFAULT", fun_udefault, 1, 12, FN_NOPARSE | FN_LOCALIZE}, {"ULOCAL", fun_ufun, 1, 11, FN_REG | FN_LOCALIZE}, {"UNIQUE", fun_unique, 1, 4, FN_REG}, - {"IDLE_TIMES", fun_idle_times, 1, 1, FN_REG}, + {"UNIDLE_TIMES", fun_unidle_times, 1, 1, FN_REG}, {"UTCTIME", fun_time, 0, 0, FN_REG}, {"U", fun_ufun, 1, 11, FN_REG}, {"V", fun_v, 1, 1, FN_REG},