From c15234bfea18b19ad0cf231fac84249836b11c75 Mon Sep 17 00:00:00 2001 From: Fabien Thomas Date: Fri, 31 Mar 2006 08:14:55 +0000 Subject: [PATCH] defect 1178: use synchronous lock structure on reply git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@961 fd59a12c-fef9-0310-b244-a6a79926bd2f --- lib/lck.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/lck.c b/lib/lck.c index 2bca079b..9fa47cd4 100644 --- a/lib/lck.c +++ b/lib/lck.c @@ -1003,7 +1003,7 @@ saLckResourceUnlock ( SaTimeT timeout) { struct req_lib_lck_resourceunlock req_lib_lck_resourceunlock; - struct res_lib_lck_resourceunlockasync res_lib_lck_resourceunlockasync; + struct res_lib_lck_resourceunlock res_lib_lck_resourceunlock; SaAisErrorT error; struct lckLockIdInstance *lckLockIdInstance; struct lckResourceInstance *lckResourceInstance; @@ -1043,8 +1043,8 @@ saLckResourceUnlock ( error = saSendReceiveReply (lckLockIdInstance->response_fd, &req_lib_lck_resourceunlock, sizeof (struct req_lib_lck_resourceunlock), - &res_lib_lck_resourceunlockasync, - sizeof (struct res_lib_lck_resourceunlockasync)); + &res_lib_lck_resourceunlock, + sizeof (struct res_lib_lck_resourceunlock)); pthread_mutex_unlock (lckLockIdInstance->response_mutex); @@ -1052,7 +1052,7 @@ saLckResourceUnlock ( saHandleDestroy (&lckLockIdHandleDatabase, lockId); - return (error == SA_AIS_OK ? res_lib_lck_resourceunlockasync.header.error : error); + return (error == SA_AIS_OK ? res_lib_lck_resourceunlock.header.error : error); } SaAisErrorT