Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
net-tools
net-tools-1.60-compoundstatement.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-tools-1.60-compoundstatement.diff of Package net-tools
--- net-tools-1.60/hostname.c +++ net-tools-1.60/hostname.c @@ -32,6 +32,7 @@ */ #include <stdio.h> #include <unistd.h> +#include <stdlib.h> #include <getopt.h> #include <string.h> #include <netdb.h> @@ -98,6 +99,7 @@ fprintf(stderr, _("%s: name too long\n"), program_name); break; default: + break; } exit(1); }; @@ -117,6 +119,7 @@ fprintf(stderr, _("%s: name too long\n"), program_name); break; default: + break; } exit(1); }; @@ -174,6 +177,7 @@ printf("%s\n", hp->h_name); break; default: + return; } } --- net-tools-1.60/lib/inet_sr.c +++ net-tools-1.60/lib/inet_sr.c @@ -105,6 +105,7 @@ case 2: isnet = 0; break; default: + break; } /* Fill in the other fields. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor