projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d64477
)
lib/fetcher-curl: Use G_SOURCE_REMOVE instead of FALSE
author
Jonathan Lebon
<jonathan@jlebon.com>
Tue, 27 Oct 2020 15:57:00 +0000
(11:57 -0400)
committer
Jonathan Lebon
<jonathan@jlebon.com>
Tue, 27 Oct 2020 15:57:00 +0000
(11:57 -0400)
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.
src/libostree/ostree-fetcher-curl.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-fetcher-curl.c
b/src/libostree/ostree-fetcher-curl.c
index 129e6988e6a8263f52b087b5a4fe8d5948f54161..178cb5cd43c5df0c4fcb9c63189c0c7978d3724b 100644
(file)
--- a/
src/libostree/ostree-fetcher-curl.c
+++ b/
src/libostree/ostree-fetcher-curl.c
@@
-433,7
+433,7
@@
timer_cb (gpointer data)
if (fetcher->timer_event == orig_src)
fetcher->timer_event = NULL;
- return
FALS
E;
+ return
G_SOURCE_REMOV
E;
}
/* Update the event timer after curl_multi library calls */