aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/gnunet-service-peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index 790c57b37..df3486ea0 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -185,7 +185,7 @@ notify_all (struct HostEntry *entry)
185static struct GNUNET_HELLO_Message * 185static struct GNUNET_HELLO_Message *
186read_host_file (const char *fn) 186read_host_file (const char *fn)
187{ 187{
188 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1]; 188 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN;
189 const struct GNUNET_HELLO_Message *hello; 189 const struct GNUNET_HELLO_Message *hello;
190 struct GNUNET_HELLO_Message *hello_clean; 190 struct GNUNET_HELLO_Message *hello_clean;
191 int size; 191 int size;
@@ -425,7 +425,7 @@ add_to_tc (void *cls, const GNUNET_HashCode * key, void *value)
425 struct HostEntry *pos = value; 425 struct HostEntry *pos = value;
426 struct InfoMessage *im; 426 struct InfoMessage *im;
427 uint16_t hs; 427 uint16_t hs;
428 char buf[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1]; 428 char buf[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN;
429 429
430 hs = 0; 430 hs = 0;
431 im = (struct InfoMessage *) buf; 431 im = (struct InfoMessage *) buf;
@@ -457,7 +457,7 @@ static int
457discard_hosts_helper (void *cls, const char *fn) 457discard_hosts_helper (void *cls, const char *fn)
458{ 458{
459 struct GNUNET_TIME_Absolute *now = cls; 459 struct GNUNET_TIME_Absolute *now = cls;
460 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1]; 460 char buffer[GNUNET_SERVER_MAX_MESSAGE_SIZE - 1] GNUNET_ALIGN;
461 const struct GNUNET_HELLO_Message *hello; 461 const struct GNUNET_HELLO_Message *hello;
462 struct GNUNET_HELLO_Message *new_hello; 462 struct GNUNET_HELLO_Message *new_hello;
463 int size; 463 int size;