projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a1218
)
setting causer correctly in setLock
author
Stefan Schubert
<schubi@suse.de>
Mon, 27 Mar 2006 07:39:23 +0000
(07:39 +0000)
committer
Stefan Schubert
<schubi@suse.de>
Mon, 27 Mar 2006 07:39:23 +0000
(07:39 +0000)
zypp/ResStatus.h
patch
|
blob
|
history
diff --git
a/zypp/ResStatus.h
b/zypp/ResStatus.h
index
5e74f4c
..
17a33f8
100644
(file)
--- 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<TransactField>( LOCKED );
- else
+ fieldValueAssign<TransactByField>( causer_r );
+ } else
fieldValueAssign<TransactField>( KEEP_STATE );
return true;
}