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);
*
* 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) {
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;
}