aboutsummaryrefslogtreecommitdiff
path: root/src/util/server_tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/server_tc.c')
-rw-r--r--src/util/server_tc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/server_tc.c b/src/util/server_tc.c
index 986bc9b43..40a8ba015 100644
--- a/src/util/server_tc.c
+++ b/src/util/server_tc.c
@@ -87,7 +87,7 @@ transmit_response (void *cls, size_t size, void *buf)
87 msize = size; 87 msize = size;
88 else 88 else
89 msize = tc->total - tc->off; 89 msize = tc->total - tc->off;
90 memcpy (buf, &tc->buf[tc->off], msize); 90 GNUNET_memcpy (buf, &tc->buf[tc->off], msize);
91 tc->off += msize; 91 tc->off += msize;
92 if (tc->total == tc->off) 92 if (tc->total == tc->off)
93 { 93 {
@@ -160,7 +160,7 @@ GNUNET_SERVER_transmit_context_append_data (struct GNUNET_SERVER_TransmitContext
160 tc->total += size; 160 tc->total += size;
161 msg->size = htons (size); 161 msg->size = htons (size);
162 msg->type = htons (type); 162 msg->type = htons (type);
163 memcpy (&msg[1], data, length); 163 GNUNET_memcpy (&msg[1], data, length);
164} 164}
165 165
166 166
@@ -186,7 +186,7 @@ GNUNET_SERVER_transmit_context_append_message (struct
186 tc->buf = GNUNET_realloc (tc->buf, tc->total + size); 186 tc->buf = GNUNET_realloc (tc->buf, tc->total + size);
187 m = (struct GNUNET_MessageHeader *) &tc->buf[tc->total]; 187 m = (struct GNUNET_MessageHeader *) &tc->buf[tc->total];
188 tc->total += size; 188 tc->total += size;
189 memcpy (m, msg, size); 189 GNUNET_memcpy (m, msg, size);
190} 190}
191 191
192 192