From c136aed073dddce02314c5354eb601741d91b06e Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Mon, 27 Mar 2006 07:39:23 +0000 Subject: [PATCH] setting causer correctly in setLock --- zypp/ResStatus.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zypp/ResStatus.h b/zypp/ResStatus.h index 5e74f4c..17a33f8 100644 --- a/zypp/ResStatus.h +++ b/zypp/ResStatus.h @@ -319,9 +319,10 @@ namespace zypp // or brings this into KEEP_STATE, and we apply the lock. if ( ! setTransact( false, causer_r ) ) return false; - if ( toLock_r ) + if ( toLock_r ) { fieldValueAssign( LOCKED ); - else + fieldValueAssign( causer_r ); + } else fieldValueAssign( KEEP_STATE ); return true; } -- 2.7.4