diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2013-05-25 11:36:34 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2013-05-25 11:36:34 +0100 |
commit | c1538088cc9d9a0bb573fcf4a31248acd26254e2 (patch) | |
tree | da9658c6eafa99fbb6e4e4cf3b2f042c952e8327 /lib/oauth2.h | |
parent | be9f3f1b0e84c358d93291ea5d4f91580cbd1ec5 (diff) |
Fix OAuth2 error reporting.
Diffstat (limited to 'lib/oauth2.h')
-rw-r--r-- | lib/oauth2.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <wilmer@gaast.net> * +* Copyright 2010-2013 Wilmer van der Gaast <wilmer@gaast.net> * * * * 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 { |