Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cboltz
modlogan
fail-gracefully-if-no-reports-in-template-plugi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fail-gracefully-if-no-reports-in-template-plugin.diff of Package modlogan
--- src/output/template/web.c 2004-08-08 11:12:46.000000000 +0200 +++ src/output/template/web.c 2004-08-18 01:34:25.000000000 +0200 @@ -2520,8 +2520,11 @@ /* set the correct link */ if (conf->menu && conf->menu->data && conf->menu->data->key) { first_report = conf->menu->data->key; - } else { + } else if (conf->reports && conf->reports->data) { first_report = conf->reports->data->key; + } else { + first_report = NULL; + fprintf(stderr, "No reports configured. Generating useless output.\n"); } /* go to the last element */
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