summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/oauth.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-01-24 19:47:13 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-01-26 20:02:26 +0100
commitbf8ad124d03b4fd059318d9ba8889b11faaf5b53 (patch)
tree95766e1d78353dcfd43f75a54a85874048e62d84 /protocols/Gadu-Gadu/src/oauth.cpp
parentfe83051082d1509bd653b718f119f884646d20e5 (diff)
Gadu-Gadu: partial move to UI classes
* advanced options form refactored * move to options class * const correctness * code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu/src/oauth.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/oauth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/oauth.cpp b/protocols/Gadu-Gadu/src/oauth.cpp
index a38e3ad7d5..da0df144b6 100644
--- a/protocols/Gadu-Gadu/src/oauth.cpp
+++ b/protocols/Gadu-Gadu/src/oauth.cpp
@@ -291,7 +291,7 @@ char *oauth_auth_header(const char *httpmethod, const char *url, OAUTHSIGNMETHOD
return res;
}
-int GGPROTO::oauth_receivetoken()
+int GaduProto::oauth_receivetoken()
{
char szUrl[256], uin[32], *token = nullptr, *token_secret = nullptr;
int res = 0;
@@ -440,7 +440,7 @@ int GGPROTO::oauth_receivetoken()
return res;
}
-int GGPROTO::oauth_checktoken(int force)
+int GaduProto::oauth_checktoken(int force)
{
if (force)
return oauth_receivetoken();