version 1.2.2.3, 2012/04/11 15:08:27
|
version 1.2.2.4, 2012/04/24 08:06:08
|
Line 61 mqttLoadRTLM(cfg_root_t *cfg, int modtype)
|
Line 61 mqttLoadRTLM(cfg_root_t *cfg, int modtype)
|
|
|
mqttOpenRTLM = dlsym(rtlm, "mqtt_rtlm_open"); |
mqttOpenRTLM = dlsym(rtlm, "mqtt_rtlm_open"); |
if (!mqttOpenRTLM) { |
if (!mqttOpenRTLM) { |
mqttLog("Error:: Can't found mqtt_db_open call\n"); | mqttLog("Error:: Can't found mqtt_rtlm_open call\n"); |
dlclose(rtlm); |
dlclose(rtlm); |
return NULL; |
return NULL; |
} |
} |
mqttCloseRTLM = dlsym(rtlm, "mqtt_rtlm_close"); |
mqttCloseRTLM = dlsym(rtlm, "mqtt_rtlm_close"); |
if (!mqttCloseRTLM) { |
if (!mqttCloseRTLM) { |
mqttLog("Error:: Can't found mqtt_db_close call\n"); | mqttLog("Error:: Can't found mqtt_rtlm_close call\n"); |
dlclose(rtlm); |
dlclose(rtlm); |
return NULL; |
return NULL; |
} |
} |