summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/st_thing_master.c5
-rw-r--r--src/st_thing_resource.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/st_thing_master.c b/src/st_thing_master.c
index edb1fe4..6f69844 100644
--- a/src/st_thing_master.c
+++ b/src/st_thing_master.c
@@ -133,11 +133,10 @@ static const char *__master_error_to_str(smartthings_error_e error)
}
static void
-_things_connection_status_cb(smartthings_error_e error,
- smartthings_h handle, smartthings_connection_status_e status,
+_things_connection_status_cb(smartthings_h handle, smartthings_connection_status_e status,
void *user_data)
{
- _D("result [%s], status = [%d]", __master_error_to_str(error), status);
+ _D("status = [%d]", status);
if (status == SMARTTHINGS_CONNECTION_STATUS_CONNECTED) {
int err = 0;
diff --git a/src/st_thing_resource.c b/src/st_thing_resource.c
index 6dcb842..1f4f441 100644
--- a/src/st_thing_resource.c
+++ b/src/st_thing_resource.c
@@ -289,11 +289,10 @@ _request_cb(smartthings_resource_h handle, int req_id,
}
static void
-_resource_connection_status_cb(smartthings_resource_error_e error,
- smartthings_resource_h handle,
+_resource_connection_status_cb(smartthings_resource_h handle,
smartthings_resource_connection_status_e status, void *user_data)
{
- _D("result [%s], status=[%d]", __resource_error_to_str(error), status);
+ _D("status=[%d]", status);
g_conn_status = status;