mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-15 11:36:54 +02:00
clear variables between gets for dump
This commit is contained in:
parent
81de6d2dfa
commit
05df378dce
1 changed files with 3 additions and 0 deletions
3
one.cpp
3
one.cpp
|
@ -1121,6 +1121,9 @@ static int cli(int argc,char **argv)
|
|||
}
|
||||
dump << responseBody << ZT_EOL_S;
|
||||
|
||||
responseHeaders.clear();
|
||||
responseBody = "";
|
||||
|
||||
// get bonds
|
||||
dump << ZT_EOL_S << "bonds" << ZT_EOL_S << "-----" << ZT_EOL_S;
|
||||
scode = Http::GET(1024 * 1024 * 16,60000,(const struct sockaddr *)&addr,"/bonds",requestHeaders,responseHeaders,responseBody);
|
||||
|
|
Loading…
Add table
Reference in a new issue