Mercurial > pidgin.yaz
comparison src/protocols/oscar/auth.c @ 11767:8c3a139e8eb3
[gaim-migrate @ 14058]
Bleeter, does this fix the warning?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 23 Oct 2005 22:14:53 +0000 |
parents | 1d29b44038c7 |
children | 1d4a05772625 |
comparison
equal
deleted
inserted
replaced
11766:fa78d6b8ec7d | 11767:8c3a139e8eb3 |
---|---|
152 aim_tlvlist_t *tl = NULL; | 152 aim_tlvlist_t *tl = NULL; |
153 int passwdlen; | 153 int passwdlen; |
154 fu8_t *password_encoded; | 154 fu8_t *password_encoded; |
155 | 155 |
156 passwdlen = strlen(password); | 156 passwdlen = strlen(password); |
157 if (!(password_encoded = (char *)malloc(passwdlen+1))) | 157 if (!(password_encoded = (fu8_t *)malloc(passwdlen+1))) |
158 return -ENOMEM; | 158 return -ENOMEM; |
159 if (passwdlen > MAXICQPASSLEN) | 159 if (passwdlen > MAXICQPASSLEN) |
160 passwdlen = MAXICQPASSLEN; | 160 passwdlen = MAXICQPASSLEN; |
161 | 161 |
162 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x01, 1152))) { | 162 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x01, 1152))) { |