]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/army.c
Update copyright notice
[empserver] / src / lib / commands / army.c
index a55b82d7690966d64bcd658bbf3208399bb42aa0..2dc8bc7cdfa51c598964cff3c0b1b40aa55f0277 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,9 +26,9 @@
  *  ---
  *
  *  army.c: Add units to an army
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
@@ -59,7 +59,7 @@ army(void)
     }
     if (c == '~')
        c = 0;
-    if (!snxtitem(&nstr, EF_LAND, player->argp[2]))
+    if (!snxtitem(&nstr, EF_LAND, player->argp[2], NULL))
        return RET_SYN;
     count = 0;
     while (nxtitem(&nstr, &land)) {