[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r398 - in GNUnet: . src/transports
From: |
grothoff |
Subject: |
[GNUnet-SVN] r398 - in GNUnet: . src/transports |
Date: |
Sun, 6 Mar 2005 17:01:07 -0800 (PST) |
Author: grothoff
Date: 2005-03-06 17:01:06 -0800 (Sun, 06 Mar 2005)
New Revision: 398
Modified:
GNUnet/src/transports/tcp.c
GNUnet/todo
Log:
u
Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2005-03-07 00:46:16 UTC (rev 397)
+++ GNUnet/src/transports/tcp.c 2005-03-07 01:01:06 UTC (rev 398)
@@ -76,7 +76,6 @@
* This struct is followed by MESSAGE_PARTs - until size is reached
* There is no "end of message".
*/
- p2p_HEADER parts[0];
} TCPMessagePack;
/**
@@ -473,7 +472,7 @@
mp = MALLOC(sizeof(MessagePack));
mp->msg = MALLOC(len);
memcpy(mp->msg,
- &pack->parts[0],
+ &pack[1],
len - sizeof(TCPMessagePack));
mp->sender = tcpSession->sender;
mp->size = len - sizeof(TCPMessagePack);
@@ -1073,7 +1072,7 @@
if (((TCPSession*)tsession->internal)->sock == -1)
return SYSERR; /* other side closed connection */
mp = MALLOC(sizeof(TCPMessagePack) + size);
- memcpy(&mp->parts[0],
+ memcpy(&mp[1],
msg,
size);
ssize = size + sizeof(TCPMessagePack);
@@ -1112,7 +1111,7 @@
if (((TCPSession*)tsession->internal)->sock == -1)
return SYSERR; /* other side closed connection */
mp = MALLOC(sizeof(TCPMessagePack) + size);
- memcpy(&mp->parts[0],
+ memcpy(&mp[1],
msg,
size);
ssize = size + sizeof(TCPMessagePack);
Modified: GNUnet/todo
===================================================================
--- GNUnet/todo 2005-03-07 00:46:16 UTC (rev 397)
+++ GNUnet/todo 2005-03-07 01:01:06 UTC (rev 398)
@@ -9,7 +9,7 @@
- testing:
* sqlite-tests: test concurrency with iterators
* gnunet-pseudonym
- * gnunet-search: multiple search results don't work (yet); test on sqlite,
FSLIB and ECRS levels!
+ * gnunet-search: multiple search results don't work (yet); test on FSLIB and
ECRS levels!
- gap:
* economy for local queries (see applications/gap/TODO) [ tricky ]
- FSUI:
@@ -17,9 +17,6 @@
* namespace updates
* collections
* testing
-- configure.ac:
- * flags for mysql, gmp, libgcrypt should ONLY be passed when
- linking the respective modules / libraries (gnunet_util, sqstore_mysql) [
tricky ]
- multi-peer testing:
* core
* gap
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r398 - in GNUnet: . src/transports,
grothoff <=