diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
commit | c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch) | |
tree | 02e313a83c4416f07fadf650d33aff09dfe46130 /src/transport/plugin_transport_smtp.c | |
parent | 40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff) | |
download | gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.tar.gz gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.zip |
fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x
Diffstat (limited to 'src/transport/plugin_transport_smtp.c')
-rw-r--r-- | src/transport/plugin_transport_smtp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_smtp.c b/src/transport/plugin_transport_smtp.c index fa11a9b6d..b589e1177 100644 --- a/src/transport/plugin_transport_smtp.c +++ b/src/transport/plugin_transport_smtp.c | |||
@@ -72,6 +72,8 @@ typedef struct | |||
72 | 72 | ||
73 | } EmailAddress; | 73 | } EmailAddress; |
74 | 74 | ||
75 | GNUNET_NETWORK_STRUCT_BEGIN | ||
76 | |||
75 | /** | 77 | /** |
76 | * Encapsulation of a GNUnet message in the SMTP mail body (before | 78 | * Encapsulation of a GNUnet message in the SMTP mail body (before |
77 | * base64 encoding). | 79 | * base64 encoding). |
@@ -86,6 +88,7 @@ typedef struct | |||
86 | GNUNET_PeerIdentity sender; | 88 | GNUNET_PeerIdentity sender; |
87 | 89 | ||
88 | } SMTPMessage; | 90 | } SMTPMessage; |
91 | GNUNET_NETWORK_STRUCT_END | ||
89 | 92 | ||
90 | /* *********** globals ************* */ | 93 | /* *********** globals ************* */ |
91 | 94 | ||