]> git.pond.sub.org Git - empserver/blobdiff - src/client/host.c
Update copyright notice
[empserver] / src / client / host.c
index 533bb5abe1ebee0b26f37d271e944b57fbc1b935..24423d0b0567feb40085d586d91a55c53ded917c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2012, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1998
- *     Markus Armbruster, 2005-2009
+ *     Markus Armbruster, 2005-2013
  */
 
 #include <config.h>
@@ -86,7 +86,7 @@ tcp_connect(char *host, char *serv)
        close(sockfd);          /* ignore this one */
     } while ((res = res->ai_next) != NULL);
 
-    if (res == NULL) {         /* errno set from final connect() */
+    if (res == NULL) {   /* errno from final socket() or connect() */
        fprintf(stderr, "Can't connect to %s:%s: %s\n",
                host, serv, strerror(errno));
        exit(1);