chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sources, by analogy with sinks
[disorder]
/
lib
/
client-common.c
diff --git
a/lib/client-common.c
b/lib/client-common.c
index fb708175190d851f0493ac55322dd3859bba2ded..3e419e4bcdc252552863e955fd5c1bc9589a8dfe 100644
(file)
--- 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);