mirror of
https://github.com/nmap/nmap.git
synced 2026-02-01 02:59:01 +00:00
Changed variable name from camel case to all lowercase for consistency with the naming convention.
This commit is contained in:
@@ -1232,13 +1232,13 @@ void nsp_add_event(mspool *nsp, msevent *nse) {
|
||||
|
||||
void nsock_trace(mspool *ms, char *fmt, ...) {
|
||||
va_list ap;
|
||||
int elapsedTimeMS;
|
||||
int elapsed_time_ms;
|
||||
|
||||
assert(ms->tracefile != NULL);
|
||||
elapsedTimeMS = TIMEVAL_MSEC_SUBTRACT(nsock_tod, ms->tracebasetime);
|
||||
elapsed_time_ms = TIMEVAL_MSEC_SUBTRACT(nsock_tod, ms->tracebasetime);
|
||||
va_start(ap, fmt);
|
||||
fflush(ms->tracefile);
|
||||
fprintf(ms->tracefile, "NSOCK (%.4fs) ", elapsedTimeMS / 1000.0);
|
||||
fprintf(ms->tracefile, "NSOCK (%.4fs) ", elapsed_time_ms / 1000.0);
|
||||
vfprintf(ms->tracefile, fmt, ap);
|
||||
fprintf(ms->tracefile, "\n");
|
||||
va_end(ap);
|
||||
|
||||
Reference in New Issue
Block a user