diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-20 22:07:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-20 22:07:10 +0100 |
commit | 2dee812c480c79a04ada98bb127cba513735c4e2 (patch) | |
tree | 5c166d5f9ae26294ad529802a09d68a16e9d0e87 /src/gns/gnunet-gns-proxy.c | |
parent | 923ed39493191b830e8f01b77042e4303e21ccd3 (diff) | |
download | gnunet-2dee812c480c79a04ada98bb127cba513735c4e2.tar.gz gnunet-2dee812c480c79a04ada98bb127cba513735c4e2.zip |
reactivate test, fix misc warnings
Diffstat (limited to 'src/gns/gnunet-gns-proxy.c')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 25092dcf0..591dff04f 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -1150,8 +1150,8 @@ curl_check_hdr (void *buffer, size_t size, size_t nmemb, void *cls) | |||
1150 | hdr_type, | 1150 | hdr_type, |
1151 | hdr_val); | 1151 | hdr_val); |
1152 | header = GNUNET_new (struct HttpResponseHeader); | 1152 | header = GNUNET_new (struct HttpResponseHeader); |
1153 | header->type = GNUNET_strndup (hdr_type, strlen (hdr_type)); | 1153 | header->type = GNUNET_strdup (hdr_type); |
1154 | header->value = GNUNET_strndup (hdr_val, strlen (hdr_val)); | 1154 | header->value = GNUNET_strdup (hdr_val); |
1155 | GNUNET_CONTAINER_DLL_insert (s5r->header_head, | 1155 | GNUNET_CONTAINER_DLL_insert (s5r->header_head, |
1156 | s5r->header_tail, | 1156 | s5r->header_tail, |
1157 | header); | 1157 | header); |