From: Ari Johnson Date: Wed, 1 Feb 2012 04:02:04 +0000 (-0500) Subject: Rename Idle_Times() to Unidle_Times() X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=9681a90314b18ef37a89cc36e1d4ccb08f1aac33;p=cobramush.git Rename Idle_Times() to Unidle_Times() The function was just named incorrectly and already returned desc->unidle_times. Fixes #259 --- diff --git a/src/bsd.c b/src/bsd.c index 6ac6c96..5926ad6 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -4632,7 +4632,7 @@ FUNCTION(fun_idle_total) { } /* ARGSUSED */ -FUNCTION(fun_idle_times) { +FUNCTION(fun_unidle_times) { DESC *match = lookup_desc(executor, args[0]); if(match) { diff --git a/src/function.c b/src/function.c index 701a5eb..035a351 100644 --- a/src/function.c +++ b/src/function.c @@ -679,7 +679,7 @@ FUNTAB flist[] = { {"ULDEFAULT", fun_uldefault, 1, 12, FN_NOPARSE}, {"ULOCAL", fun_ulocal, 1, 11, FN_REG}, {"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},