Fix bug in checking argc count
authorTheodore Tso <tytso@mit.edu>
Thu, 13 Jan 1994 23:43:37 +0000 (23:43 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 13 Jan 1994 23:43:37 +0000 (23:43 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3321 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/sample/sserver/sserver.c

index 40646f4931989746886f8af1d41301f526e075c0..7ef335abf753504e681a3b62ff33c1b6825bec28 100644 (file)
@@ -90,7 +90,7 @@ char *argv[];
      * If user specified a port, then listen on that port; otherwise,
      * assume we've been started out of inetd.
      */
-    if (argc > 2) {
+    if (argc > 1) {
        int acc;
        struct sockaddr_in sin;