projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58e289
)
Rename Idle_Times() to Unidle_Times()
author
Ari Johnson
<ari@theari.com>
Wed, 1 Feb 2012 04:02:04 +0000
(23:02 -0500)
committer
Ari Johnson
<ari@theari.com>
Wed, 1 Feb 2012 04:02:04 +0000
(23:02 -0500)
The function was just named incorrectly and already returned
desc->unidle_times.
Fixes #259
src/bsd.c
patch
|
blob
|
history
src/function.c
patch
|
blob
|
history
diff --git
a/src/bsd.c
b/src/bsd.c
index 6ac6c9616b1c243963c797eb95490898b00d98c3..5926ad6279fb751bf503c3829b7aae0ca6e22da9 100644
(file)
--- a/
src/bsd.c
+++ b/
src/bsd.c
@@
-4632,7
+4632,7
@@
FUNCTION(fun_idle_total) {
}
/* ARGSUSED */
-FUNCTION(fun_idle_times) {
+FUNCTION(fun_
un
idle_times) {
DESC *match = lookup_desc(executor, args[0]);
if(match) {
diff --git
a/src/function.c
b/src/function.c
index 701a5eb372184317c2ad7f2024c9c18c71ad12bb..035a35186008a919906f58b1b457acc7e28a5ecd 100644
(file)
--- 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_un
idle_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},