Revision ac92ede7 src/unixclientsocket.cpp

View differences:

src/unixclientsocket.cpp
61 61
  strcpy(addr.sun_path, path.c_str());
62 62

  
63 63
  if (::connect(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
64
    std::cerr << "Fatal error: failed to connect to socket " << path << "\n"
65
	      << strerror(errno) << std::endl;
66 64
    close(fd);
67 65
    fd = -1;
68 66
    return false;

Also available in: Unified diff