laramackey 5 years ago
parent
commit
4e843b0267
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/p2p/offerer.cpp

+ 1 - 1
test/p2p/offerer.cpp

@@ -96,7 +96,7 @@ int main(int argc, char **argv) {
 		if (!res)
 			return;
 
-		while (res->status == -1) {
+		while (res->body.empty()) {
 			res = cli.Get("/state/json");
 		}