Revise the code followed by the result of prevent.
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 27 Nov 2012 05:12:55 +0000 (14:12 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 27 Nov 2012 05:25:27 +0000 (14:25 +0900)
Change-Id: I033fe598c5c3de367a501f5761e87ce52aa3c415

packaging/libcom-core.spec
src/com-core_thread.c

index 2b68f02..ce9682d 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.3.1
+Version: 0.3.2
 Release: 1
 Group: main/util
 License: Flora License
index a3c910a..f26dc05 100644 (file)
@@ -82,7 +82,7 @@ static inline void server_destroy(struct server *server)
 {
        dlist_remove_data(s_info.server_list, server);
 
-       if (server->id >= 0)
+       if (server->id > 0)
                g_source_remove(server->id);
 
        if (server->handle > 0)