Fix build error in msgs-count.scm
mu:run-stats expects the passed-in function to take 3 arguments. The third argument applies to gnuplot only, which is not applicable to the count function in msgs-count.scm.
This commit is contained in:
@ -26,8 +26,9 @@ exec guile -e main -s $0 $@
|
|||||||
|
|
||||||
(use-modules (mu) (mu script) (mu stats))
|
(use-modules (mu) (mu script) (mu stats))
|
||||||
|
|
||||||
(define (count expr)
|
(define (count expr output)
|
||||||
"Print the total number of messages matching QUERY."
|
"Print the total number of messages matching the query EXPR.
|
||||||
|
OUTPUT is ignored."
|
||||||
(display (mu:count expr))
|
(display (mu:count expr))
|
||||||
(newline))
|
(newline))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user