]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/foll.c
Fix trailing whitespace
[empserver] / src / lib / commands / foll.c
index 2aefc906e8a8875c75ffd824e26139fb6f9d4a25..14dd8b3c1ea601d6d4f10cf354d1c765d7739e54 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 @@
  *  ---
  *
  *  foll.c: Set leader of a set of ships
- * 
+ *
  *  Known contributors to this file:
  *     Robert Forsman
  */
@@ -51,9 +51,9 @@ foll(void)
        pr("The SAIL option is not enabled, so this command is not valid.\n");
        return RET_FAIL;
     }
-    if (!snxtitem(&nstr, EF_SHIP, player->argp[1]))
+    if (!snxtitem(&nstr, EF_SHIP, player->argp[1], NULL))
        return RET_SYN;
-    cp = getstarg(player->argp[2], "leader?", buf);
+    cp = getstarg(player->argp[2], "leader? ", buf);
     if (cp == 0)
        cp = "";
     good = sscanf(cp, "%d", &leader);