Skip to content

Commit

Permalink
Fix typo in variable name change
Browse files Browse the repository at this point in the history
  • Loading branch information
dennypage committed Dec 16, 2015
1 parent a8e8efd commit ccf4173
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dpinger.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,6 @@ usocket_thread(

//
// Decode a time argument
// Return (int) ms
//
static int
get_time_arg_msec(
Expand Down Expand Up @@ -1296,7 +1295,7 @@ main(
}

// Create alert thread
if (latency_alarm_threshold_msec || loss_alarm_threshold)
if (latency_alarm_threshold_msec || loss_alarm_threshold_percent)
{
r = pthread_create(&thread, NULL, &alert_thread, NULL);
if (r != 0)
Expand Down

1 comment on commit ccf4173

@phil-davis
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I missed one!

Please sign in to comment.