فهرست منبع

Merge trunk revision 2731:
r2731 | asalkeld | 2010-03-24 15:16:32 -0700 (Wed, 24 Mar 2010) | 2 lines

Fix unloading of evs (service id == 0)



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2771 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 سال پیش
والد
کامیت
73531cee4a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      exec/service.c

+ 1 - 1
exec/service.c

@@ -436,7 +436,7 @@ static unsigned int service_unlink_and_exit (
 			(void *)&service_id, NULL);
 
 		if(service_id != NULL
-			&& *service_id > 0
+			&& *service_id >= 0
 			&& *service_id < SERVICE_HANDLER_MAXIMUM_COUNT
 			&& ais_service[*service_id] != NULL) {