]> git.pond.sub.org Git - empserver/blobdiff - src/client/expect.c
Fix trailing whitespace
[empserver] / src / client / expect.c
index 4d29a53697c212887cd61b4d9f27b86f8b5ef540..9f66e130b451362be6f6ae8334e688d938ad67f4 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,7 @@
  *  ---
  *
  *  expect.c: Read from the socket, expecting to see a particular code.
- * 
+ *
  *  Known contributors to this file:
  *      Steve McClure, 1998
  *      Markus Armbruster, 2007
@@ -92,7 +92,7 @@ parseid(char *line)
     char *end;
     long id;
 
-    id = strtol(line, &end, 16);
+    id = strtol(line, &end, 36);
     if (end == line || *end != ' ') {
        fprintf(stderr, "Malformed id in line %s", line);
        id = -1;