X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/3544c8e738c3993d9c87417329c573544f641ad9..9e42afcd09973d589b58be8f503f05b9f292c3b4:/lib/client.c 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; }