projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f52d17
)
libubus: fix logic inversion for cancelling requests
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 30 May 2013 10:39:51 +0000
(12:39 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 30 May 2013 10:39:51 +0000
(12:39 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-req.c
patch
|
blob
|
history
diff --git
a/libubus-req.c
b/libubus-req.c
index 2f2dce1e6f8ddecd08cf9b3f8a78ccf8324dd0f9..43a5c265d7c5c7ff42b6a1b32e310d9176760d6a 100644
(file)
--- a/
libubus-req.c
+++ b/
libubus-req.c
@@
-66,7
+66,7
@@
int __hidden ubus_start_request(struct ubus_context *ctx, struct ubus_request *r
void ubus_abort_request(struct ubus_context *ctx, struct ubus_request *req)
{
- if (
!
list_empty(&req->list))
+ if (list_empty(&req->list))
return;
req->cancelled = true;