Skip to content

Commit 2bf998f

Browse files
committed
Problem: build broken on kFreeBSD
Solution: fix refactor mistake introduced by: 091df74 Fixes #4113
1 parent 2998ff3 commit 2bf998f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream_engine_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static std::string get_peer_address (zmq::fd_t s_)
8484
else if (family == PF_UNIX) {
8585
struct xucred cred;
8686
socklen_t size = sizeof (cred);
87-
if (!getsockopt (_s, 0, LOCAL_PEERCRED, &cred, &size)
87+
if (!getsockopt (s_, 0, LOCAL_PEERCRED, &cred, &size)
8888
&& cred.cr_version == XUCRED_VERSION) {
8989
std::ostringstream buf;
9090
buf << ":" << cred.cr_uid << ":";

0 commit comments

Comments
 (0)