chiark / gitweb /
Typos.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 17 Nov 2013 11:00:21 +0000 (11:00 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 17 Nov 2013 11:00:21 +0000 (11:00 +0000)
lib/client-common.c
lib/client.c
lib/configuration.c

index fb708175190d851f0493ac55322dd3859bba2ded..3e419e4bcdc252552863e955fd5c1bc9589a8dfe 100644 (file)
@@ -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);
index 2fe77b870a72ae0e7aca00af85db48763de2e378..0ba9c86233b495c4380ec3aec15e3c26a541bca9 100644 (file)
@@ -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) {
index 19a84a24dbac85385097275a079f5081e1f23c17..cf9b1612c25dabaca02d2ee123fd7caebad107a2 100644 (file)
@@ -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;
     }