Return empty string if we have no proxy

This commit is contained in:
Alex Hultman
2020-06-06 21:07:20 +02:00
parent 0d9cb39db6
commit 5d5f9edc63
2 changed files with 13 additions and 1 deletions
+4
View File
@@ -100,6 +100,10 @@ protected:
static thread_local char buf[64];
int ipLength = 0;
if (!binary.length()) {
return {};
}
unsigned char *b = (unsigned char *) binary.data();
if (binary.length() == 4) {