commit e55694bdbbce60572c4a59a1a6dc69cde012f308
parent 97c5ef197909671816d3001a2914b5568f962756
Author: Manvendra Bhangui <mbhangui@gmail.com>
Date: Fri, 19 Jul 2019 16:21:13 +0530
control_readfile() called with less arguments
control_readfile() function in control.c requires 3 arguments - a stralloc variable, filename, flagme. It is being called with just two arguments in qmail-showctl.c
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qmail-showctl.c b/qmail-showctl.c
@@ -112,7 +112,7 @@ char *post;
substdio_puts(subfdout,"\n");
substdio_puts(subfdout,fn);
substdio_puts(subfdout,": ");
- switch(control_readfile(&line,fn)) {
+ switch(control_readfile(&line,fn,0)) {
case 0:
substdio_puts(subfdout,"(Default.) ");
substdio_puts(subfdout,def);