From owner-cvs-sbin Sat Apr 13 13:15:40 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA24619 for cvs-sbin-outgoing; Sat, 13 Apr 1996 13:15:40 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA24593 Sat, 13 Apr 1996 13:15:23 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id GAA17624; Sun, 14 Apr 1996 06:13:53 +1000 Date: Sun, 14 Apr 1996 06:13:53 +1000 From: Bruce Evans Message-Id: <199604132013.GAA17624@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, j@uriah.heep.sax.de Subject: Re: cvs commit: src/sbin/nfsd nfsd.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Wouldn't this be more explanatory: >- if(argc) udpflag = 1; >+ if (!tcpflag && !udpflag) >+ udpflag = 1; /* Default to UDP instead of do nothing. */ What about ISO support? :-). I think defaulting to usage() would be better. However, the usage message says that args are optional. Bruce