chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Windows support for command line client
[disorder]
/
lib
/
client.c
diff --git
a/lib/client.c
b/lib/client.c
index 80b4cd24d486a020b7455857f8aecadb5d73b647..52c5b6851180005a804ee5cf520f0087918c8bd2 100644
(file)
--- 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;
}
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
/** @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;
}
byte_xasprintf((char **)&c->last, "input error: unexpected EOF");
return -1;
}
+
return 0;
}
return 0;
}