mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +00:00
o Fixed a bunch of code to avoid compilation warning messages (at
least on some Linux machines) [Andrew J. Bennieston]
This commit is contained in:
@@ -286,7 +286,7 @@ public:
|
||||
/* Returns true if the given tryno and pingseq match those within this
|
||||
probe. */
|
||||
bool check_tryno_pingseq(unsigned int tryno, unsigned int pingseq) {
|
||||
return pingseq == 0 && tryno >= this->tryno || pingseq > 0 && pingseq == this->pingseq;
|
||||
return (pingseq == 0 && tryno >= this->tryno) || (pingseq > 0 && pingseq == this->pingseq);
|
||||
}
|
||||
|
||||
u8 tryno; /* Try (retransmission) number of this probe */
|
||||
|
||||
Reference in New Issue
Block a user