summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/makemap
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-11-14 15:09:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-11-14 15:09:29 +0000
commit343c4ae683abd1014b496e39faad7704baa02d87 (patch)
tree5993b9e175f84fb71bcdd4734b60bbf7623b1289 /gnu/usr.sbin/sendmail/makemap
parent6c7bfa540e3d7491cbb18e5991372cb98fea6d81 (diff)
Tab was hard-coded as delimeter for undump even though it can be
specified with -t. Problem found (and slightly different diff) by robert@
Diffstat (limited to 'gnu/usr.sbin/sendmail/makemap')
-rw-r--r--gnu/usr.sbin/sendmail/makemap/makemap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.sbin/sendmail/makemap/makemap.c b/gnu/usr.sbin/sendmail/makemap/makemap.c
index 7098b5a3a05..588c856bcde 100644
--- a/gnu/usr.sbin/sendmail/makemap/makemap.c
+++ b/gnu/usr.sbin/sendmail/makemap/makemap.c
@@ -378,9 +378,10 @@ main(argc, argv)
break;
(void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
- "%.*s\t%.*s\n",
+ "%.*s%c%.*s\n",
(int) db_key.size,
(char *) db_key.data,
+ sep ? sep : '\t',
(int) db_val.size,
(char *)db_val.data);