summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorzinovik <zinovik@cvs.openbsd.org>2010-06-09 20:00:56 +0000
committerzinovik <zinovik@cvs.openbsd.org>2010-06-09 20:00:56 +0000
commit5c4be7b6da312a881999adbd963d56f99b0f4c4e (patch)
tree87ef09cedcf463ada1b1fe07dce28aff3b60e46d /usr.sbin/smtpd
parent5889424235680f1650a55007c032525b1187d698 (diff)
switch `ref' data type to int, because it is tested for negative value in
queue_mem_content_unref() function ok jacekm@, gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/smtpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 6b6fd9979cb..c5e0c293c61 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.191 2010/06/01 23:06:25 jacekm Exp $ */
+/* $OpenBSD: smtpd.h,v 1.192 2010/06/09 20:00:55 zinovik Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -380,7 +380,7 @@ struct action {
struct content {
SLIST_HEAD(,action) actions;
u_int64_t id;
- u_int32_t ref;
+ int ref;
struct event *ev;
};