From 931afc7d2ac8dd63fd651632c8464e2ee799363b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 26 Nov 2009 16:53:45 +0000 Subject: [PATCH] (trunk libT) fix variable name oops --- libtransmission/utils.c | 4 ++-- libtransmission/utils.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libtransmission/utils.c b/libtransmission/utils.c index ca42a927a..855d68d37 100644 --- a/libtransmission/utils.c +++ b/libtransmission/utils.c @@ -485,10 +485,10 @@ tr_timevalSet( struct timeval * setme, int seconds, int microseconds ) } void -tr_timerAdd( struct event * timer, int seconds, int milliseconds ) +tr_timerAdd( struct event * timer, int seconds, int microseconds ) { struct timeval tv; - tr_timevalSet( &tv, seconds, milliseconds ); + tr_timevalSet( &tv, seconds, microseconds ); event_add( timer, &tv ); } diff --git a/libtransmission/utils.h b/libtransmission/utils.h index f5ec2e57d..84c3001d3 100644 --- a/libtransmission/utils.h +++ b/libtransmission/utils.h @@ -254,7 +254,7 @@ void tr_timevalSet( struct timeval * setme, int seconds, int microseconds ); struct event; -void tr_timerAdd( struct event * timer, int seconds, int milliseconds ); +void tr_timerAdd( struct event * timer, int seconds, int microseconds ); /** @brief return the current date in milliseconds */