diff options
Diffstat (limited to 'news/bgrab/files/patch-ac')
-rw-r--r-- | news/bgrab/files/patch-ac | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/news/bgrab/files/patch-ac b/news/bgrab/files/patch-ac deleted file mode 100644 index 18db787f7ad9..000000000000 --- a/news/bgrab/files/patch-ac +++ /dev/null @@ -1,14 +0,0 @@ ---- server.cc.orig Thu Sep 16 16:50:51 1999 -+++ server.cc Thu Sep 16 17:00:39 1999 -@@ -8,7 +8,10 @@ - server::server(char *host, unsigned long port) { - inbuf = 0; - bzero(buf,BUFSIZE+1); -- soc = connectto(host,port); -+ if((soc = connectto(host,port)) == -1) { -+ fprintf(stderr, "Cannot connect to host \"%s\"\n", host); -+ exit(1); -+ } - } - - int server::sockfd() { |