[notification service] fixed problem multicast packet about deleting notification...
authoryoungsub ko <ys4610.ko@samsung.com>
Wed, 16 Apr 2014 08:05:39 +0000 (17:05 +0900)
committeryoungsub ko <ys4610.ko@samsung.com>
Wed, 16 Apr 2014 08:05:39 +0000 (17:05 +0900)
src/notification_service.c

index f32dc02..2f00587 100755 (executable)
@@ -240,7 +240,7 @@ static void _handler_delete_single(struct tcb *tcb, struct packet *packet, void
                        ErrPrint("failed to create a reply packet\n");
                }
 
-               if (ret != NOTIFICATION_ERROR_NONE && num_changes <= 0) {
+               if (ret != NOTIFICATION_ERROR_NONE || num_changes <= 0) {
                        ErrPrint("failed to delete a notification:%d %d\n", ret, num_changes);
                        return ;
                }