Package: stormbaancoureur
Version: 2.1.5-2.1

A new upstream version is available at
http://www.stolk.org/stormbaancoureur/download/stormbaancoureur-2.1.6.tar.gz

In http://www.stolk.org/stormbaancoureur/changelog:
stormbaancoureur (2.1.6-1) unstable; urgency=low

  * Point to new leaderboard server
  * Make name resolve non-fatal
  * Debian patch for gcc-4.4 integrated

 -- Bram Stolk <b.st...@gmail.com>  Mon, 30 Nov 2009 19:26:00 +0200

The game now uses "www.stolk.org" for the leaderboard server. This
leaderboard server isn't running yet. But the DNS entry exists AND the
game doesn't abort even if DNS entry can't be resolved. I've done some
testing to confirm this.

--- stormbaancoureur-2.1.5/src-stormbaancoureur/postscore.cxx   2008-04-20
15:56:48.000000000 +0000
+++ stormbaancoureur-2.1.6/src-stormbaancoureur/postscore.cxx   2009-12-01
03:31:35.000000000 +0000
@@ -21,7 +21,7 @@

 #include "postscore.h"

-static const char *hostname = "leaderboard.stolk.org";
+static const char *hostname = "www.stolk.org";
 static const int portnr=7460;

 static char msg[1472];
@@ -38,8 +38,10 @@

   struct hostent *he = gethostbyname(hostname);
   if (!he)
+  {
     perror("gethostbyname");
-  assert(he);
+    return;
+  }
   struct in_addr ip_addr = *(struct in_addr *)(he->h_addr);
   char *ipnr = inet_ntoa(ip_addr);




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to