]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/natarg.c
COPYING duplicates information from README. Remove. Move GPL from
[empserver] / src / lib / subs / natarg.c
index 301eac0d4a8baef275a8696c41740514127e11e8..099fd4e18ce81b8d07c5be1950a91c0f80c5e147 100644 (file)
@@ -19,9 +19,9 @@
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
@@ -70,7 +70,7 @@ natargp(char *arg, char *prompt)
        }
     }
     np = getnatp(n);
-    if (!np) {
+    if (!np || np->nat_stat == STAT_UNUSED) {
        pr("Country '%s' doesn't exist.\n", arg);
        return NULL;
     }