X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-utils%2Favahi-resolve.c;h=47e7ebfdeefd949429f4d08ec244ef8f4c459c52;hb=ceee295adb1e22818bcaf201f0135760836c5aae;hp=9b1d517d1e78bfaacdedb6e6afdaf657a5d44bf2;hpb=122fd94c2e5934941cb6eccbd7c8658a5e194637;p=catta diff --git a/avahi-utils/avahi-resolve.c b/avahi-utils/avahi-resolve.c index 9b1d517..47e7ebf 100644 --- a/avahi-utils/avahi-resolve.c +++ b/avahi-utils/avahi-resolve.c @@ -186,7 +186,6 @@ static int parse_command_line(Config *c, const char *argv0, int argc, char *argv c->proto = AVAHI_PROTO_UNSPEC; c->verbose = 0; - opterr = 0; while ((o = getopt_long(argc, argv, "hVnav46", long_options, NULL)) >= 0) { switch(o) { @@ -212,7 +211,6 @@ static int parse_command_line(Config *c, const char *argv0, int argc, char *argv c->proto = AVAHI_PROTO_INET6; break; default: - fprintf(stderr, "Invalid command line argument: %c\n", o); return -1; } }