X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/408aa7b24c7ee02d530e05852fd8eb0f5abfc3fd..4ccfd96cfee813f3855be5a902acc3d5cd0545a4:/socket.c diff --git a/socket.c b/socket.c index 7dadb26a..a64aac6c 100644 --- a/socket.c +++ b/socket.c @@ -90,7 +90,7 @@ static int establish_proxy_connection(int fd, char *host, int port, if (*cp == '\r') *cp = '\0'; if (strncmp(buffer, "HTTP/", 5) != 0) { - rprintf(FERROR, "bad response from proxy - %s\n", + rprintf(FERROR, "bad response from proxy -- %s\n", buffer); return -1; } @@ -98,7 +98,7 @@ static int establish_proxy_connection(int fd, char *host, int port, while (*cp == ' ') cp++; if (*cp != '2') { - rprintf(FERROR, "bad response from proxy - %s\n", + rprintf(FERROR, "bad response from proxy -- %s\n", buffer); return -1; } @@ -616,7 +616,7 @@ void set_socket_options(int fd, char *options) case OPT_ON: if (got_value) - rprintf(FERROR,"syntax error - %s does not take a value\n",tok); + rprintf(FERROR,"syntax error -- %s does not take a value\n",tok); { int on = socket_options[i].value;