summaryrefslogtreecommitdiff
path: root/qmail-popup.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2014-04-27 23:07:25 (GMT)
committerJohn Denker <jsd@av8n.com>2014-04-27 23:33:32 (GMT)
commit35da8253b2e133d485597b048b7c9cb4fb474444 (patch)
tree11c67b42287d339cccf74170e3ddca53416e501d /qmail-popup.c
parent8e0679d9227c964d8df84bcb71054a4f14f72343 (diff)
get rid of some more warnings
Diffstat (limited to 'qmail-popup.c')
-rw-r--r--qmail-popup.c18
1 files changed, 9 insertions, 9 deletions
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;