]> git.pond.sub.org Git - empserver/commitdiff
(show_opts): Revert rev. 1.13 `Pretend SHIPNAMES still exists...'
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 23 Feb 2006 07:32:41 +0000 (07:32 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 23 Feb 2006 07:32:41 +0000 (07:32 +0000)
Clients had four months to adapt.  Moreover, there have been other
changes that could well break clients, so backward compatibility is
gone anyway.

src/lib/commands/vers.c

index 55af0719d3b97543643c55e5b156b4256fac905e..98411c6cb89c91db0957986324aa7df1c7ae6e2f 100644 (file)
@@ -249,19 +249,4 @@ show_opts(int val)
        pr("%s%s", sep, kp->km_key);
        sep = ", ";
     }
-
-    /*
-     * OBSOLETE: Ships used to be printed differently depending on
-     * option SHIPNAMES.  Clients had to know whether SHIPNAMES was on
-     * to parse this.  To ease the transition, pretend the option
-     * still exists.
-     */
-    if (val) {
-       col += strlen(sep) + 9;
-       if (col > 70) {
-           pr(",\n        ");
-           sep = "";
-       }
-       pr("%sSHIPNAMES", sep);
-    }
 }