From c1538088cc9d9a0bb573fcf4a31248acd26254e2 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 25 May 2013 11:36:34 +0100 Subject: Fix OAuth2 error reporting. --- lib/oauth2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/oauth2.h') diff --git a/lib/oauth2.h b/lib/oauth2.h index c8d18963..b3811f49 100644 --- a/lib/oauth2.h +++ b/lib/oauth2.h @@ -3,7 +3,7 @@ * BitlBee - An IRC to IM gateway * * Simple OAuth2 client (consumer) implementation. * * * -* Copyright 2010-2011 Wilmer van der Gaast * +* Copyright 2010-2013 Wilmer van der Gaast * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -24,7 +24,8 @@ /* Implementation mostly based on my experience with writing the previous OAuth module, and from http://code.google.com/apis/accounts/docs/OAuth2.html . */ -typedef void (*oauth2_token_callback)( gpointer data, const char *atoken, const char *rtoken ); +typedef void (*oauth2_token_callback)( gpointer data, const char *atoken, + const char *rtoken, const char *error ); struct oauth2_service { -- cgit v1.2.3