summaryrefslogtreecommitdiff
path: root/one.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'one.cpp')
-rw-r--r--one.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/one.cpp b/one.cpp
index 0b18ed91..abe8bb37 100644
--- a/one.cpp
+++ b/one.cpp
@@ -633,10 +633,6 @@ static int cli(int argc,char **argv)
fprintf(stderr,"invalid network ID format, must be a 16-digit hexidecimal number\n");
return 2;
}
- char jsons[1024], cl[128];
- OSUtils::ztsnprintf(cl,sizeof(cl),"%u",(unsigned int)strlen(jsons));
- requestHeaders["Content-Type"] = "application/json";
- requestHeaders["Content-Length"] = cl;
const unsigned int scode = Http::GET(1024 * 1024 * 16,60000,(const struct sockaddr *)&addr,"/network",requestHeaders,responseHeaders,responseBody);
if (scode == 0) {