forked from lix-project/lix
Typo
This commit is contained in:
parent
43d4d75e22
commit
b299560872
|
@ -1749,7 +1749,7 @@ void connect(int fd, const std::string & path)
|
||||||
});
|
});
|
||||||
int status = pid.wait();
|
int status = pid.wait();
|
||||||
if (status != 0)
|
if (status != 0)
|
||||||
throw Error("cannot connect to socket ar '%s'", path);
|
throw Error("cannot connect to socket at '%s'", path);
|
||||||
} else {
|
} else {
|
||||||
strcpy(addr.sun_path, path.c_str());
|
strcpy(addr.sun_path, path.c_str());
|
||||||
if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) == -1)
|
if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) == -1)
|
||||||
|
|
Loading…
Reference in a new issue