|
|
| version 1.1.2.6, 2011/12/12 09:24:25 | version 1.1.2.7, 2011/12/14 12:45:30 |
|---|---|
| Line 39 mqtt_rtlm_open(sl_config *cfg) | Line 39 mqtt_rtlm_open(sl_config *cfg) |
| if (!cfg) | if (!cfg) |
| return NULL; | return NULL; |
| sqlite3_config(SQLITE_CONFIG_SERIALIZED); | if (!sqlite3_threadsafe() || sqlite3_config(SQLITE_CONFIG_SERIALIZED)) |
| return NULL; | |
| str = (const char*) cfg_GetAttribute(cfg, CFG("mqtt_acc"), CFG("name")); | str = (const char*) cfg_GetAttribute(cfg, CFG("mqtt_acc"), CFG("name")); |
| if (!str) { | if (!str) { |