mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
fix segfault at startup
Origin commit data
------------------
Commit: 0e2a405fa5
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-02 (Thu, 02 Mar 2017)
Origin message was:
------------------
- fix segfault at startup
This commit is contained in:
@@ -511,7 +511,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
if (timer_remotebox_itemcount) {
|
||||
for (int i = 0; i < timer_remotebox_itemcount; i++) {
|
||||
timer_remotebox_item timer_rb;
|
||||
memset(&timer_rb, 0, sizeof(struct timer_remotebox_item));
|
||||
//NI memset(&timer_rb, 0, sizeof(struct timer_remotebox_item));
|
||||
std::string k;
|
||||
k = "timer_remotebox_ip_" + to_string(i);
|
||||
timer_rb.rbaddress = configfile.getString(k, "");
|
||||
|
Reference in New Issue
Block a user