diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-09-03 00:20:21 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2021-09-03 00:20:21 +0000 |
| commit | a043afde089c60db08f6f9e246dda18a16e4b3e8 (patch) | |
| tree | 3e81cf37060e17966200283b0b587588bd7c2005 /src/rpc/skabus_rpcd_query.c | |
| parent | 5ca66151f5f5916f843ea64d05fc460c602cc753 (diff) | |
| download | skabus-a043afde089c60db08f6f9e246dda18a16e4b3e8.tar.gz | |
More errno fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/rpc/skabus_rpcd_query.c')
| -rw-r--r-- | src/rpc/skabus_rpcd_query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/skabus_rpcd_query.c b/src/rpc/skabus_rpcd_query.c index 13f3ebe..a9271c2 100644 --- a/src/rpc/skabus_rpcd_query.c +++ b/src/rpc/skabus_rpcd_query.c @@ -68,7 +68,7 @@ void query_remove (uint32_t i) query_delete(i) ; } -void query_fail (uint32_t i, char status) +void query_fail (uint32_t i, unsigned char status) { query_t *q = QUERY(i) ; client_t *c = CLIENT(q->client) ; @@ -82,7 +82,7 @@ void query_fail (uint32_t i, char status) client_setdeadline(c) ; } -int query_cancel (uint32_t i, char reason) +int query_cancel (uint32_t i, unsigned char reason) { query_t *q = QUERY(i) ; interface_t *y = INTERFACE(q->interface) ; @@ -97,7 +97,7 @@ int query_cancel (uint32_t i, char reason) return 1 ; } -int query_cancelremove (uint32_t i, char reason) +int query_cancelremove (uint32_t i, unsigned char reason) { if (!query_cancel(i, reason)) return 0 ; query_remove(i) ; |
