lib/fetcher-curl: Use G_SOURCE_REMOVE instead of FALSE
They're equivalent, though I prefer the former because it's more descriptive and it makes it really obvious that it's a `GSource` callback.
This commit is contained in:
parent
6d64477c8d
commit
40edc33ef3
|
|
@ -433,7 +433,7 @@ timer_cb (gpointer data)
|
||||||
if (fetcher->timer_event == orig_src)
|
if (fetcher->timer_event == orig_src)
|
||||||
fetcher->timer_event = NULL;
|
fetcher->timer_event = NULL;
|
||||||
|
|
||||||
return FALSE;
|
return G_SOURCE_REMOVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update the event timer after curl_multi library calls */
|
/* Update the event timer after curl_multi library calls */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue