summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r--protocols/Gadu-Gadu/gg.c8
-rw-r--r--protocols/Gadu-Gadu/gg.h1
-rw-r--r--protocols/Gadu-Gadu/oauth.c6
3 files changed, 3 insertions, 12 deletions
diff --git a/protocols/Gadu-Gadu/gg.c b/protocols/Gadu-Gadu/gg.c
index 6cb5abf554..778f62eeb1 100644
--- a/protocols/Gadu-Gadu/gg.c
+++ b/protocols/Gadu-Gadu/gg.c
@@ -43,10 +43,6 @@ static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST};
// Other variables
HINSTANCE hInstance;
PLUGINLINK *pluginLink;
-struct MM_INTERFACE mmi;
-struct SHA1_INTERFACE sha1i;
-struct MD5_INTERFACE md5i;
-struct LIST_INTERFACE li;
XML_API xi;
SSL_API si;
CLIST_INTERFACE *pcli;
@@ -572,10 +568,6 @@ int __declspec(dllexport) Load(PLUGINLINK * link)
PROTOCOLDESCRIPTOR pd;
pluginLink = link;
- mir_getMMI(&mmi);
- mir_getSHA1I(&sha1i);
- mir_getMD5I(&md5i);
- mir_getLI(&li);
mir_getXI(&xi);
mir_getLP(&pluginInfo);
diff --git a/protocols/Gadu-Gadu/gg.h b/protocols/Gadu-Gadu/gg.h
index 8ebfbd81a8..79abb3190e 100644
--- a/protocols/Gadu-Gadu/gg.h
+++ b/protocols/Gadu-Gadu/gg.h
@@ -356,7 +356,6 @@ typedef void (__cdecl GGThreadFunc)(void*, void*);
extern HINSTANCE hInstance;
extern PLUGINLINK *pluginLink;
extern CLIST_INTERFACE *pcli;
-extern struct LIST_INTERFACE li;
extern list_t g_Instances;
// Screen saver
diff --git a/protocols/Gadu-Gadu/oauth.c b/protocols/Gadu-Gadu/oauth.c
index 2c0631d655..15f9e592fe 100644
--- a/protocols/Gadu-Gadu/oauth.c
+++ b/protocols/Gadu-Gadu/oauth.c
@@ -204,7 +204,7 @@ void oauth_setparam(SortedList *params, const char *name, const char *value)
p = mir_alloc(sizeof(OAUTHPARAMETER));
p->name = oauth_uri_escape(name);
p->value = oauth_uri_escape(value);
- li.List_InsertPtr(params, p);
+ List_InsertPtr(params, p);
}
void oauth_freeparams(SortedList *params)
@@ -331,7 +331,7 @@ char *oauth_auth_header(const char *httpmethod, const char *url, OAUTHSIGNMETHOD
if (oauth_sign_request(&oauth_parameters, httpmethod, url, consumer_secret, token_secret)) {
oauth_freeparams(&oauth_parameters);
- li.List_Destroy(&oauth_parameters);
+ List_Destroy(&oauth_parameters);
return NULL;
}
@@ -355,7 +355,7 @@ char *oauth_auth_header(const char *httpmethod, const char *url, OAUTHSIGNMETHOD
}
oauth_freeparams(&oauth_parameters);
- li.List_Destroy(&oauth_parameters);
+ List_Destroy(&oauth_parameters);
return res;
}