remove signal
This commit is contained in:
parent
1484996819
commit
f428d6c220
|
@ -185,9 +185,6 @@ static int _register_subscribe_topics(void *client)
|
||||||
static void mqtt_test_thread(void) {
|
static void mqtt_test_thread(void) {
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
// to avoid process crash when writing to a broken socket
|
|
||||||
signal(SIGPIPE, SIG_IGN);
|
|
||||||
|
|
||||||
//init connection
|
//init connection
|
||||||
MQTTInitParams init_params = DEFAULT_MQTT_INIT_PARAMS;
|
MQTTInitParams init_params = DEFAULT_MQTT_INIT_PARAMS;
|
||||||
rc = _setup_connect_init_params(&init_params);
|
rc = _setup_connect_init_params(&init_params);
|
||||||
|
|
Loading…
Reference in New Issue