summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorpea <pea@cvs.openbsd.org>2009-03-12 11:08:27 +0000
committerpea <pea@cvs.openbsd.org>2009-03-12 11:08:27 +0000
commitcf360fc2afa75eb5959e477758632a9abfa76938 (patch)
tree9528e93c26e10e3b757fa85a7d136e4edc2d3417 /usr.sbin/smtpd/smtpd.h
parent406cac47aeec68b6da9dc6a1186e3e63599a8923 (diff)
Add new function time_to_text to correctly display the date.
Use it to display the date in received from header and when we store headers. ok jacekm@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 8a6efc26dd3..d3d0bcb8ffb 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.90 2009/03/10 22:33:26 jacekm Exp $ */
+/* $OpenBSD: smtpd.h,v 1.91 2009/03/12 11:08:26 pea Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -959,4 +959,5 @@ int valid_domainpart(char *);
char *ss_to_text(struct sockaddr_storage *);
int valid_message_id(char *);
int valid_message_uid(char *);
+char *time_to_text(time_t);
int secure_file(int, char *, struct passwd *);