diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 1999-07-23 15:00:07 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 1999-07-23 15:00:07 +0000 |
| commit | 3d1171b5b4ec6b5f064c9e588f81850571d0ae77 (patch) | |
| tree | 3c24de88bbedd371329c0d15c0dd9871a115b28d /usr.sbin/inetd | |
| parent | bcb5ab37654485a3116daf2681050820504a6461 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/inetd')
| -rw-r--r-- | usr.sbin/inetd/builtins.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/inetd/builtins.c b/usr.sbin/inetd/builtins.c index 01bee5a41f59..49ffc4847997 100644 --- a/usr.sbin/inetd/builtins.c +++ b/usr.sbin/inetd/builtins.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: builtins.c,v 1.3 1999/07/22 21:42:49 green Exp $ + * $Id: builtins.c,v 1.4 1999/07/23 03:51:52 green Exp $ * */ @@ -336,13 +336,14 @@ ident_stream(s, sep) /* Ident service */ switch (sscanf(optarg, "%d.%d", &sec, &usec)) { - case 1: - tv.tv_sec = sec; - break; case 2: tv.tv_usec = usec; + case 1: + tv.tv_sec = sec; break; default: + if (debug) + warnx("bad argument to -t option"); break; } } while (0); |
