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/hostlist | |
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/hostlist')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c index b10f124d4..0eedb56b1 100644 --- a/src/hostlist/gnunet-daemon-hostlist.c +++ b/src/hostlist/gnunet-daemon-hostlist.c | |||
@@ -99,6 +99,8 @@ static GNUNET_CORE_ConnectEventHandler client_ch; | |||
99 | */ | 99 | */ |
100 | static GNUNET_CORE_DisconnectEventHandler client_dh; | 100 | static GNUNET_CORE_DisconnectEventHandler client_dh; |
101 | 101 | ||
102 | GNUNET_NETWORK_STRUCT_BEGIN | ||
103 | |||
102 | /** | 104 | /** |
103 | * A HOSTLIST_ADV message is used to exchange information about | 105 | * A HOSTLIST_ADV message is used to exchange information about |
104 | * hostlist advertisements. This struct is always | 106 | * hostlist advertisements. This struct is always |
@@ -123,7 +125,7 @@ struct GNUNET_HOSTLIST_ADV_Message | |||
123 | */ | 125 | */ |
124 | uint32_t reserved GNUNET_PACKED; | 126 | uint32_t reserved GNUNET_PACKED; |
125 | }; | 127 | }; |
126 | 128 | GNUNET_NETWORK_STRUCT_END | |
127 | 129 | ||
128 | static struct GNUNET_PeerIdentity me; | 130 | static struct GNUNET_PeerIdentity me; |
129 | 131 | ||