gentoo-overlay/net-dns/pdns-recursor/files/pdns-recursor-3.1.7.2-error-message.patch

11 lines
463 B
Diff

--- pdns-recursor-3.1.7.2/rec_channel.cc
+++ pdns-recursor-3.1.7.2/rec_channel.cc
@@ -100,7 +100,7 @@
strcpy(remote.sun_path,(path+"/"+fname).c_str());
if(::connect(d_fd, (sockaddr*)&remote, sizeof(remote)) < 0) {
unlink(d_local.sun_path);
- throw AhuException("Unable to connect to remote '"+path+fname+"': "+string(strerror(errno)));
+ throw AhuException("Unable to connect to remote '"+path+"/"+fname+"': "+string(strerror(errno)));
}
}