summaryrefslogtreecommitdiff
path: root/usr.sbin/ctm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 01:19:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 01:19:18 +0000
commit6f6d788e47f40e2d1059468c0a1c8b74d3054ee2 (patch)
tree2b187077e7bb0d9123021063ae48c13837456d07 /usr.sbin/ctm
parentf94ceb669fa4236566397b97b03d7b7703fa17ff (diff)
set max field width of %s correctly
Diffstat (limited to 'usr.sbin/ctm')
-rw-r--r--usr.sbin/ctm/ctm_rmail/ctm_rmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
index d83abc0bf8d..cd96801f009 100644
--- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
+++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
@@ -294,7 +294,7 @@ read_piece(char *input_file)
char *s;
int fd = -1;
- if (sscanf(line, "CTM_MAIL BEGIN %s %d %d %c",
+ if (sscanf(line, "CTM_MAIL BEGIN %30s %d %d %c",
delta, &pce, &npieces, junk) != 3)
continue;