From: Richard Kettlewell Date: Sun, 17 Nov 2013 11:00:21 +0000 (+0000) Subject: Typos. X-Git-Tag: 5.2~109 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/70adc86bb90c8522fcc64f33948a9f64209b6a07 Typos. --- diff --git a/lib/client-common.c b/lib/client-common.c index fb70817..3e419e4 100644 --- a/lib/client-common.c +++ b/lib/client-common.c @@ -71,7 +71,7 @@ socklen_t find_server(struct config *c, if(!name) name = config_get_file2(c, "socket"); if(strlen(name) >= sizeof su.sun_path) { - disorder_error(errno, "socket path is too long"); + disorder_error(0, "socket path is too long"); return -1; } memset(&su, 0, sizeof su); diff --git a/lib/client.c b/lib/client.c index 2fe77b8..0ba9c86 100644 --- a/lib/client.c +++ b/lib/client.c @@ -570,7 +570,7 @@ int disorder_connect(disorder_client *c) { * * If @p cookie is NULL or does not work then we attempt to log in as * guest instead (so when the cookie expires only an extra round trip - * is needed rathre than a complete new login). + * is needed rather than a complete new login). */ int disorder_connect_cookie(disorder_client *c, const char *cookie) { diff --git a/lib/configuration.c b/lib/configuration.c index 19a84a2..cf9b161 100644 --- a/lib/configuration.c +++ b/lib/configuration.c @@ -676,7 +676,7 @@ static int validate_isabspath(const struct config_state *cs, for(n = 0; n < nvec; ++n) if(vec[n][0] != '/') { - disorder_error(errno, "%s:%d: %s: not an absolute path", + disorder_error(0, "%s:%d: %s: not an absolute path", cs->path, cs->line, vec[n]); return -1; }