Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
OpenIPMI
do-fclose
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File do-fclose of Package OpenIPMI
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-OpenIPMI-2.0.20-rc1/lanserv/config.c ./lanserv/config.c --- ../orig-OpenIPMI-2.0.20-rc1/lanserv/config.c 2012-07-02 19:12:38.000000000 +0200 +++ ./lanserv/config.c 2012-11-15 13:02:23.106167982 +0100 @@ -450,7 +450,7 @@ if (!err) { err = lanserv_read_config(bmc, f, &line, val); if (err) - return err; + break; } } else if (strcmp(tok, "user") == 0) { err = get_user(&tokptr, bmc, &errstr); @@ -477,7 +477,7 @@ if (err) { fprintf(stderr, "Error on line %d: %s\n", line, errstr); - return err; + break; } } diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-OpenIPMI-2.0.20-rc1/lanserv/emu_cmd.c ./lanserv/emu_cmd.c --- ../orig-OpenIPMI-2.0.20-rc1/lanserv/emu_cmd.c 2012-06-28 23:42:02.000000000 +0200 +++ ./lanserv/emu_cmd.c 2012-11-15 13:03:21.196534022 +0100 @@ -193,7 +193,7 @@ read_command_file(emu_out_t *out, emu_data_t *emu, char *command_file) { FILE *f = fopen(command_file, "r"); - int rv; + int rv = 0; if (!f) { out->printf(out, "Unable to open command file '%s'\n", command_file); @@ -228,7 +228,7 @@ rv = ipmi_emu_cmd(out, emu, buffer); if (rv) - return rv; + break; pos = 0; } out: @@ -237,7 +237,7 @@ fclose(f); } - return 0; + return rv; } static int
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