[PATCH] Mail: ngx_mail_session_t 'protocol' field resize

Filipe da Silva fdasilvayy at gmail.com
Mon Feb 10 09:02:51 UTC 2014


# HG changeset patch
# User Filipe da Silva <fdasilvayy at gmail.com>
# Date 1389727364 -3600
#      Tue Jan 14 20:22:44 2014 +0100
# Node ID 9e519ec4328ab9b8dd0639e1f9321f62f9bce287
# Parent  188481078faf4b2bff88a4086d6d509730f90099
Mail: ngx_mail_session_t 'protocol' field resize

As possible values are NGX_MAIL_*_PROTOCOL(0,1,2)

diff -r 188481078faf -r 9e519ec4328a src/mail/ngx_mail.h
--- a/src/mail/ngx_mail.h	Mon Feb 03 14:17:17 2014 -0800
+++ b/src/mail/ngx_mail.h	Tue Jan 14 20:22:44 2014 +0100
@@ -209,7 +209,7 @@ typedef struct {
 
     ngx_uint_t              mail_state;
 
-    unsigned                protocol:3;
+    unsigned                protocol:2;
     unsigned                blocked:1;
     unsigned                quit:1;
     unsigned                quoted:1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5558.diff
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20140210/33e209b5/attachment.bin>


More information about the nginx-devel mailing list