AFNetworking/AFNetworking — pull request #261 by zole (2012-03-20 21:22:26+00:00)
Title: Fixed bug with JSON decodes not returning errors

While debugging my app I noticed that when I used AFJSONRequestOperation to fetch improperly-encoded JSON, the parse error wasn't being passed back to the failure callback. It seems that NSInvocation's ````setArgument:atIndex:```` method needs a pointer to the argument rather than the argument itself, so this change does that. I confirmed that JSONKit's NSError was showing up in the operation's failure block, but any sanity-checking would be welcome.