mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
hastd: Fix build failure
Fixes: a5e6bee5a0 ("hastd: Use void pointers for opaque data")
Reported by: garga@
This commit is contained in:
1 parent
8430de47aa
commit
dff56e8118
1 file changed
+1
-1
@@ -145,7 +145,7 @@ proto_common_send(int sock, const void *data, size_t size, int fd)
|
||||
errno = ETIMEDOUT;
|
||||
return (errno);
|
||||
}
|
||||
data += done;
|
||||
data = (const char *)data + done;
|
||||
size -= done;
|
||||
} while (size > 0);
|
||||
if (errcount > 0) {
|
||||
|
||||
Reference in new issue
Block a user