1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Use a u8 instead of int for Port::state. This allows better struct

packing and reduces the size of objects by 4 bytes.
This commit is contained in:
david
2009-12-19 22:33:23 +00:00
parent b838242e01
commit 10f39ddd92

View File

@@ -182,7 +182,7 @@ class Port {
u16 portno;
u8 proto;
int state;
u8 state;
state_reason_t reason;
#ifndef NOLUA