Misc cleanup
This commit is contained in:
@@ -80,7 +80,7 @@ namespace PacketDump
|
||||
// Determine how long to run for
|
||||
int start = Environment.TickCount;
|
||||
int milliseconds = Int32.Parse(args[3]) * 1000;
|
||||
bool forever = (milliseconds > 0) ? false : true;
|
||||
bool forever = (milliseconds <= 0);
|
||||
|
||||
// Packet handling is done with asynchronous callbacks. Run a sleeping loop in the main
|
||||
// thread until we run out of time or the program is closed
|
||||
|
||||
Reference in New Issue
Block a user