diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-21 13:43:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-21 13:43:01 +0000 |
commit | 9cb64ba2151b213f5544b2e53c6668061f197b9c (patch) | |
tree | bf4c796a96df96a9875af9d772826937f66ee33c /protocols/Gadu-Gadu/src/oauth.cpp | |
parent | bc69e94ff28a1f7cd0c0b99fa7d2702b8807539f (diff) |
MS_UTILS_GETRANDOM -> mir_core::Utils_GetRandom
git-svn-id: http://svn.miranda-ng.org/main/trunk@14299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/oauth.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/oauth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/oauth.cpp b/protocols/Gadu-Gadu/src/oauth.cpp index 19c74c0acf..4aad3c3838 100644 --- a/protocols/Gadu-Gadu/src/oauth.cpp +++ b/protocols/Gadu-Gadu/src/oauth.cpp @@ -222,7 +222,7 @@ int oauth_sign_request(LIST<OAUTHPARAMETER> ¶ms, const char *httpmethod, con char* oauth_generate_nonce()
{
char randnum[16];
- CallService(MS_UTILS_GETRANDOM, (WPARAM)sizeof(randnum), (LPARAM)randnum);
+ Utils_GetRandom(randnum, sizeof(randnum));
CMStringA str(FORMAT, "%ld%s", time(NULL), randnum);
|