X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/96f6312a0a827d2f90e7ab88d3a203c56eb82a9f..69a3ec00896b5f6dcdd04d5250e8b9fc8aeb20fd:/lib/client.c?ds=sidebyside diff --git a/lib/client.c b/lib/client.c index 80b4cd2..52c5b68 100644 --- a/lib/client.c +++ b/lib/client.c @@ -749,6 +749,10 @@ static int pairlist(disorder_client *c, struct kvp **kp, const char *cmd, ...) { return 0; } +#if _WIN32 +# define boolean bodge_boolean +#endif + /** @brief Parse a boolean response * @param cmd Command for use in error messsage * @param value Result from server @@ -788,6 +792,7 @@ int disorder_log(disorder_client *c, struct sink *s) { byte_xasprintf((char **)&c->last, "input error: unexpected EOF"); return -1; } + return 0; }