base: Use distinct error for ref_account mismatch

This commit is contained in:
Norman Feske 2013-09-28 19:25:25 +02:00
parent 5caed68fe4
commit 61b94296b2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ int Ram_session_component::_transfer_quota(Ram_session_component *dst, size_t am
/* check for reference account relationship */
if ((ref_account() != dst) && (dst->ref_account() != this))
return -3;
return -2;
/* decrease quota limit of this session - check against used quota */
if (_quota_limit < amount + _payload) {