summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-09-02 15:46:12 +0000
committerLaurent Bercot <ska@appnovation.com>2021-09-02 15:46:12 +0000
commit686ca403f362ed0d92d94bec3f70984d5a012ca6 (patch)
tree6b04137bcb938f7ddc3f96626ef97ff45a461222 /src
parente79cd0580433ed92ed4f827e097323f066d636d8 (diff)
downloadskalibs-686ca403f362ed0d92d94bec3f70984d5a012ca6.tar.xz
Don't forget textclient_commandv
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r--src/libunixonacid/textclient_commandv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunixonacid/textclient_commandv.c b/src/libunixonacid/textclient_commandv.c
index 1983a33..f7a2a05 100644
--- a/src/libunixonacid/textclient_commandv.c
+++ b/src/libunixonacid/textclient_commandv.c
@@ -11,6 +11,6 @@ int textclient_commandv (textclient *a, struct iovec const *v, unsigned int n, t
struct iovec ans ;
if (!textclient_exchangev(a, v, n, &ans, deadline, stamp)) return 0 ;
if (ans.iov_len != 1) return (errno = EPROTO, 0) ;
- if (*(char *)ans.iov_base) return (errno = *(char *)ans.iov_base, 0) ;
+ if (*(unsigned char *)ans.iov_base) return (errno = *(unsigned char *)ans.iov_base, 0) ;
return 1 ;
}