Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ettore.dreucci:tgktools
nagios-core-plugins
nagios-plugins-2.1.1-64bit_check_portability.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-plugins-2.1.1-64bit_check_portability.patch of Package nagios-core-plugins
diff -Ppru nagios-plugins-2.1.1.orig/plugins/check_hpjd.c nagios-plugins-2.1.1.64bit/plugins/check_hpjd.c --- nagios-plugins-2.1.1.orig/plugins/check_hpjd.c 2014-03-04 22:41:57.000000000 +0100 +++ nagios-plugins-2.1.1.64bit/plugins/check_hpjd.c 2015-09-22 15:45:00.014101162 +0200 @@ -346,7 +346,7 @@ process_arguments (int argc, char **argv if (!is_intpos(optarg)) usage2 (_("Port must be a positive short integer"), optarg); else - port = atoi(optarg); + port = optarg; break; case 'V': /* version */ print_revision (progname, NP_VERSION); @@ -380,7 +380,7 @@ process_arguments (int argc, char **argv if (argv[c] != NULL ) port = argv[c]; else - port = atoi (DEFAULT_PORT); + port = DEFAULT_PORT; } return validate_arguments ();
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