fixed typo in disconnect:pid-> id paramter 86/47786/4
authorJeesun Kim <iamjs.kim@samsung.com>
Tue, 8 Sep 2015 14:05:55 +0000 (23:05 +0900)
committerjeesun kim <iamjs.kim@samsung.com>
Wed, 9 Sep 2015 03:09:57 +0000 (20:09 -0700)
Change-Id: I9de08f2c2409778776ef5ade870ab0b9959ff434

client/cal_client_service_helper.c

index 8158a9e..7c21af5 100644 (file)
@@ -104,7 +104,7 @@ int cal_client_disconnect(calendar_h handle, unsigned int id, int *connection_co
        DBG("[Disonnection count:handle] (%d)", h->connection_count);
 
        if (0 == h->connection_count) {
-               ret = cal_client_handle_remove(cal_client_get_pid(), handle);
+               ret = cal_client_handle_remove(id, handle);
                if (CALENDAR_ERROR_NONE != ret)
                        WARN("cal_client_handle_remove() Fail(%d)", ret);
        }