summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtp.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-08-19 14:16:59 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-08-19 14:16:59 +0000
commit1b6f151091fe915825af8b1de72a405399304d5d (patch)
treef5c86c0aea7b25c15a55a0a5603b51cb02684eb3 /usr.sbin/smtpd/smtp.c
parent82fbbc3ff6b861edc27a3e226609be1ba985c8b5 (diff)
coding style: replace all occurences of u_int* with uint*
ok eric@
Diffstat (limited to 'usr.sbin/smtpd/smtp.c')
-rw-r--r--usr.sbin/smtpd/smtp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c
index c4d7ab3aa58..83e6f1b0795 100644
--- a/usr.sbin/smtpd/smtp.c
+++ b/usr.sbin/smtpd/smtp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp.c,v 1.104 2012/08/18 18:18:23 gilles Exp $ */
+/* $OpenBSD: smtp.c,v 1.105 2012/08/19 14:16:58 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -47,7 +47,7 @@ static void smtp_pause(void);
static int smtp_enqueue(uid_t *);
static void smtp_accept(int, short, void *);
static struct session *smtp_new(struct listener *);
-static struct session *session_lookup(u_int64_t);
+static struct session *session_lookup(uint64_t);
static size_t sessions;
@@ -109,7 +109,7 @@ smtp_imsg(struct imsgev *iev, struct imsg *imsg)
s = session_lookup(ss->id);
if (s == NULL)
return;
- s->s_msg.id = ((u_int64_t)ss->u.msgid) << 32;
+ s->s_msg.id = ((uint64_t)ss->u.msgid) << 32;
session_pickup(s, ss);
return;
@@ -554,7 +554,7 @@ smtp_destroy(struct session *session)
* Helper function for handling IMSG replies.
*/
static struct session *
-session_lookup(u_int64_t id)
+session_lookup(uint64_t id)
{
struct session key;
struct session *s;