diff --git a/osscan.cc b/osscan.cc index 9bd669258..9d3ae8f72 100644 --- a/osscan.cc +++ b/osscan.cc @@ -694,8 +694,7 @@ bool FingerTest::str2AVal(const char *str, const char *end) { if (!q) { q = end; } - if (p != q) // empty? use NULL - AVs[idx->second] = string_pool_substr(p, q); + AVs[idx->second] = string_pool_substr(p, q); p = q + 1; } if (p < end) {