diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /protocols/Gadu-Gadu/userutils.c | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/userutils.c')
-rw-r--r-- | protocols/Gadu-Gadu/userutils.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Gadu-Gadu/userutils.c b/protocols/Gadu-Gadu/userutils.c index 1217488c93..721e4d32cf 100644 --- a/protocols/Gadu-Gadu/userutils.c +++ b/protocols/Gadu-Gadu/userutils.c @@ -32,10 +32,10 @@ void *gg_doregister(GGPROTO *gg, char *newPass, char *newEmail) #ifdef DEBUGMODE
gg_netlog(gg, "gg_doregister(): Starting.");
#endif
- if(!newPass || !newEmail) return NULL;
+ if (!newPass || !newEmail) return NULL;
// Load token
- if(!gg_gettoken(gg, &token)) return NULL;
+ if (!gg_gettoken(gg, &token)) return NULL;
if (!(h = gg_register3(newEmail, newPass, token.id, token.val, 0)) || !(s = h->data) || !s->success || !s->uin)
{
@@ -87,10 +87,10 @@ void *gg_dounregister(GGPROTO *gg, uin_t uin, char *password) #ifdef DEBUGMODE
gg_netlog(gg, "gg_dounregister(): Starting.");
#endif
- if(!uin || !password) return NULL;
+ if (!uin || !password) return NULL;
// Load token
- if(!gg_gettoken(gg, &token)) return NULL;
+ if (!gg_gettoken(gg, &token)) return NULL;
if (!(h = gg_unregister3(uin, password, token.id, token.val, 0)) || !(s = h->data) || !s->success || s->uin != uin)
{
@@ -141,7 +141,7 @@ void *gg_dochpass(GGPROTO *gg, uin_t uin, char *password, char *newPass) #ifdef DEBUGMODE
gg_netlog(gg, "gg_dochpass(): Starting.");
#endif
- if(!uin || !password || !newPass) return NULL;
+ if (!uin || !password || !newPass) return NULL;
if (!DBGetContactSettingString(NULL, GG_PROTO, GG_KEY_EMAIL, &dbv_email))
{
@@ -150,7 +150,7 @@ void *gg_dochpass(GGPROTO *gg, uin_t uin, char *password, char *newPass) }
// Load token
- if(!gg_gettoken(gg, &token)) return NULL;
+ if (!gg_gettoken(gg, &token)) return NULL;
if (!(h = gg_change_passwd4(uin, email, password, newPass, token.id, token.val, 0)) || !(s = h->data) || !s->success)
{
@@ -199,10 +199,10 @@ void *gg_dochemail(GGPROTO *gg, uin_t uin, char *password, char *email, char *ne #ifdef DEBUGMODE
gg_netlog(gg, "gg_doemail(): Starting.");
#endif
- if(!uin || !email || !newEmail) return NULL;
+ if (!uin || !email || !newEmail) return NULL;
// Load token
- if(!gg_gettoken(gg, &token)) return NULL;
+ if (!gg_gettoken(gg, &token)) return NULL;
if (!(h = gg_change_passwd4(uin, newEmail, password, password, token.id, token.val, 0)) || !(s = h->data) || !s->success)
{
|