From 35da8253b2e133d485597b048b7c9cb4fb474444 Mon Sep 17 00:00:00 2001 From: John Denker Date: Sun, 27 Apr 2014 16:07:25 -0700 Subject: get rid of some more warnings --- qmail-popup.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'qmail-popup.c') diff --git a/qmail-popup.c b/qmail-popup.c index 906da67..a18b73e 100644 --- a/qmail-popup.c +++ b/qmail-popup.c @@ -38,7 +38,7 @@ substdio ssout = SUBSTDIO_FDBUF(safewrite,1,ssoutbuf,sizeof ssoutbuf); char ssinbuf[128]; substdio ssin = SUBSTDIO_FDBUF(saferead,0,ssinbuf,sizeof ssinbuf); -void puts(s) char *s; +void myputs(s) char *s; { substdio_puts(&ssout,s); } @@ -48,9 +48,9 @@ void flush() } void err(s) char *s; { - puts("-ERR "); - puts(s); - puts("\r\n"); + myputs("-ERR "); + myputs(s); + myputs("\r\n"); flush(); } @@ -66,7 +66,7 @@ void err_syntax() { err("syntax error"); } void err_wantuser() { err("USER first"); } void err_authoriz(arg) char *arg; { err("authorization first"); } -void okay(arg) char *arg; { puts("+OK \r\n"); flush(); } +void okay(arg) char *arg; { myputs("+OK \r\n"); flush(); } void pop3_quit(arg) char *arg; { okay(0); die(); } @@ -127,10 +127,10 @@ void pop3_greet() s += fmt_ulong(s,(unsigned long) now()); *s++ = '@'; *s++ = 0; - puts("+OK <"); - puts(unique); - puts(hostname); - puts(">\r\n"); + myputs("+OK <"); + myputs(unique); + myputs(hostname); + myputs(">\r\n"); flush(); } void pop3_user(arg) char *arg; -- cgit v1.2.3