]> granicus.if.org Git - neomutt/commit
Clean up sasl warnings.
authorKevin McCarthy <kevin@8t8.us>
Thu, 29 Jan 2015 23:40:34 +0000 (15:40 -0800)
committerKevin McCarthy <kevin@8t8.us>
Thu, 29 Jan 2015 23:40:34 +0000 (15:40 -0800)
commit8d0c037210d9d6229ada56c7296486fe24733547
tree54028e00b7bc3b51e20d14d2f021c594515d6cf8
parent014a6087fb5185da952165f14fb4015fbf2bd03e
Clean up sasl warnings.

These were caused by assigning callback functions to the
sasl_callback_t.proc member.  The callback type doesn't list any
parameters, because parameters vary by callback.  The fix was simply
assigning a cast.

Cyrus-sasl2 has a sasl_callback_ft typedef that their sample code uses
for this purpose, but it is in a different header, saslplug.h, and
isn't in their 1.5 tree.  Since this is probably not portable to other
implementations, I just added an equivalent cast.
mutt_sasl.c