correct the count

This commit is contained in:
auronandace
2026-03-04 16:35:07 +00:00
parent 5ce797af52
commit 63366e98ef
+1 -1
View File
@@ -60,7 +60,7 @@ pub unsafe extern "C" fn inet_aton(cp: *const c_char, inp: *mut in_addr) -> c_in
count += 1;
}
}
if count == 3 {
if count == 4 {
four_parts_decimal_only = true;
}
} else if cp_cstr.len() == 4 {