Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/getaddrinfo add missing break



details:   https://anonhg.NetBSD.org/src/rev/671b14beb8a0
branches:  trunk
changeset: 327695:671b14beb8a0
user:      ginsbach <ginsbach%NetBSD.org@localhost>
date:      Fri Mar 14 13:17:18 2014 +0000

description:
add missing break

diffstat:

 usr.bin/getaddrinfo/getaddrinfo.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 858584c11a6a -r 671b14beb8a0 usr.bin/getaddrinfo/getaddrinfo.c
--- a/usr.bin/getaddrinfo/getaddrinfo.c Fri Mar 14 12:17:53 2014 +0000
+++ b/usr.bin/getaddrinfo/getaddrinfo.c Fri Mar 14 13:17:18 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getaddrinfo.c,v 1.1 2013/09/30 06:19:22 riastradh Exp $        */
+/*     $NetBSD: getaddrinfo.c,v 1.2 2014/03/14 13:17:18 ginsbach Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: getaddrinfo.c,v 1.1 2013/09/30 06:19:22 riastradh Exp $");
+__RCSID("$NetBSD: getaddrinfo.c,v 1.2 2014/03/14 13:17:18 ginsbach Exp $");
 
 #include <assert.h>
 #include <err.h>
@@ -101,6 +101,7 @@
                                warnx("invalid protocol: %s", optarg);
                                usage();
                        }
+                       break;
 
                case 'P':
                        hints.ai_flags |= AI_PASSIVE;



Home | Main Index | Thread Index | Old Index