Changeset 3446 for neercs


Ignore:
Timestamp:
May 13, 2009, 3:23:15 PM (14 years ago)
Author:
Pascal Terjan
Message:
  • Move failure to connect to socket into debug, it can be normal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/attach.c

    r3430 r3446  
    159159    if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) < 0)
    160160    {
    161         fprintf(stderr, "Failed to connect to %s: %s\n", screen_list->socket_path[socktype], strerror(errno));
     161        debug("Failed to connect to %s: %s", screen_list->socket_path[socktype], strerror(errno));
    162162        close(sock);
    163163        return NULL;
Note: See TracChangeset for help on using the changeset viewer.