summaryrefslogtreecommitdiff
path: root/src/tai64nfrac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tai64nfrac.c')
-rw-r--r--src/tai64nfrac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tai64nfrac.c b/src/tai64nfrac.c
index f3db977..c93f7d6 100644
--- a/src/tai64nfrac.c
+++ b/src/tai64nfrac.c
@@ -6,6 +6,7 @@
#include "scan.h"
#include "fmt.h"
#include "getln.h"
+#include "qmail.h"
#define TAI64NLEN 24
@@ -15,7 +16,7 @@
Return the characters after the timestamp.
*/
-char outbuf[64];
+char outbuf[BUFFER_SMALL];
buffer bo = BUFFER_INIT(write,1,outbuf,sizeof(outbuf));
static void outs(char *s)
@@ -32,7 +33,7 @@ static void outi(int i)
if (buffer_flush(&bo) == -1) _exit(1);
}
-char inbuf[1024];
+char inbuf[BUFSIZE_LINE];
buffer bi = BUFFER_INIT(read,0,inbuf,sizeof(inbuf));
int main(void)