Return value of get_resource() was wrong, which caused quota reporting not to work.
Return value of get_resource() was wrong, which caused quota reporting not
to work.

--HG--
branch : HEAD

dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot