Swap return value and argument of imap_threaded_capability()
authorJakub Kicinski <kubakici@wp.pl>
Fri, 12 Dec 2014 08:17:34 +0000 (09:17 +0100)
committerJakub Kicinski <kubakici@wp.pl>
Fri, 12 Dec 2014 08:17:34 +0000 (09:17 +0100)
commit6d36a13352bf5fa16a4adbdba4a70721f6617f84
treea84a8bc085d5b50db12d72c0a512e39e28c921a4
parent9f4528e13ec256b719d4d9cbd1c5a836f69aee0b
Swap return value and argument of imap_threaded_capability()

imap_threaded_capability() is the only imap_threaded_*() function
which does not return status, instead status is written to a pointer
passed as argument and function returns retrieved capabilities. To
unify behaviour of all imap_threaded_*() functions make it return
status and pass capabilities through an out argument.
src/etpan/imap-thread.c
src/etpan/imap-thread.h
src/imap.c