Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
nagios
nagios-fix_spurious_dollar_signs_added_to_comma...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-fix_spurious_dollar_signs_added_to_command_lines.patch of Package nagios
--- common/macros.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: common/macros.c =================================================================== --- common/macros.c.orig +++ common/macros.c @@ -221,7 +221,8 @@ int process_macros_r(nagios_macros *mac, *output_buffer = (char *)realloc(*output_buffer, strlen(*output_buffer) + strlen(temp_buffer) + 3); strcat(*output_buffer, "$"); strcat(*output_buffer, temp_buffer); - strcat(*output_buffer, "$"); + if (buf_ptr != NULL) + strcat(*output_buffer, "$"); } /* insert macro */
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