summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-10-11 21:24:52 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-10-11 21:24:52 +0000
commit06ed8474f2bd096c807ccb2ae881e4784fe586dc (patch)
treef22b3fb6610654070a675036c04725a72f8ccbd9 /usr.sbin/smtpd
parent815bd1277670a815b22caa59a7629829181de586 (diff)
- ssize_t -> size_t
spotted with clang, ok eric@ and chl@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/mta_session.c4
-rw-r--r--usr.sbin/smtpd/smtp_session.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c
index 4f90b1d67ca..f8e9bd9b83c 100644
--- a/usr.sbin/smtpd/mta_session.c
+++ b/usr.sbin/smtpd/mta_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta_session.c,v 1.23 2012/10/10 19:38:04 eric Exp $ */
+/* $OpenBSD: mta_session.c,v 1.24 2012/10/11 21:24:51 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -646,7 +646,7 @@ mta_io(struct io *io, int evt)
{
struct mta_session *s = io->arg;
char *line, *msg;
- ssize_t len;
+ size_t len;
struct mta_host *host;
const char *error;
int cont;
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 19351bc2790..41148359a13 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.171 2012/10/09 20:33:02 gilles Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.172 2012/10/11 21:24:51 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -617,7 +617,7 @@ session_io(struct io *io, int evt)
struct session *s = io->arg;
void *ssl;
char *line;
- ssize_t len;
+ size_t len;
log_trace(TRACE_IO, "smtp: %p: %s %s", s, io_strevent(evt), io_strio(io));