Browse Source

[core] Fix compiler warning in throttle.c

personal/stbuehler/wip
Thomas Porzelt 12 years ago
parent
commit
48913fac46
  1. 2
      src/main/throttle.c

2
src/main/throttle.c

@ -88,7 +88,7 @@ void li_throttle_pool_release(liConnection *con) {
con->throttle.pool.ptr = NULL;
}
void li_throttle_pool_rearm(liWorker *wrk, liThrottlePool *pool) {
static void li_throttle_pool_rearm(liWorker *wrk, liThrottlePool *pool) {
ev_tstamp now = CUR_TS(wrk);
/* this is basically another way to do "if (try_lock(foo)) { ...; unlock(foo); }" */

Loading…
Cancel
Save