Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
nagios
nagios-4.0.6-remove-date-time.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-4.0.6-remove-date-time.patch of Package nagios
Index: nagios-4.4.2/cgi/archivejson.c =================================================================== --- nagios-4.4.2.orig/cgi/archivejson.c +++ nagios-4.4.2/cgi/archivejson.c @@ -761,7 +761,7 @@ int main(void) { json_result(query_time, THISCGI, svm_get_string_from_value(cgi_data.query, valid_queries), get_query_status(query_status, cgi_data.query), - compile_time(__DATE__, __TIME__), ¤t_authdata, + compile_time("Jan 1 1970", "00:00:00"), ¤t_authdata, RESULT_SUCCESS, "")); json_object_append_object(json_root, "data", json_help(archive_json_help)); Index: nagios-4.4.2/cgi/objectjson.c =================================================================== --- nagios-4.4.2.orig/cgi/objectjson.c +++ nagios-4.4.2/cgi/objectjson.c @@ -1130,7 +1130,7 @@ int main(void) { json_result(query_time, THISCGI, svm_get_string_from_value(cgi_data.query, valid_queries), get_query_status(query_status, cgi_data.query), - compile_time(__DATE__, __TIME__), ¤t_authdata, + compile_time("Jan 1 1970", "00:00:00"), ¤t_authdata, RESULT_SUCCESS, "")); json_object_append_object(json_root, "data", json_help(object_json_help)); break; Index: nagios-4.4.2/cgi/statusjson.c =================================================================== --- nagios-4.4.2.orig/cgi/statusjson.c +++ nagios-4.4.2/cgi/statusjson.c @@ -1135,7 +1135,7 @@ int main(void) { json_result(query_time, THISCGI, svm_get_string_from_value(cgi_data.query, valid_queries), get_query_status(query_status, cgi_data.query), - compile_time(__DATE__, __TIME__), ¤t_authdata, + compile_time("Jan 1 1970", "00:00:00"), ¤t_authdata, RESULT_SUCCESS, "")); json_object_append_object(json_root, "data", json_help(status_json_help)); break;
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