diff libpurple/nat-pmp.h @ 22687:4d968d8be5d2

Fix Purple::Util::fetch_url to correctly accept a callback in any of the following forms \&funref, sub {...}, or "fun", instead of just accepting "fun". While I was at it, I cleaned up the code a bit, this should allocate a little less memory every time now and provide a little more useful error reporting for invalid callback data.
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 19 Apr 2008 04:52:13 +0000
parents 6bf32c9e15a7
children 98520ee78f12
line wrap: on
line diff