Changeset 6b13103 for protocols/oscar
- Timestamp:
- 2015-01-16T19:50:23Z (10 years ago)
- Branches:
- master
- Children:
- 1065dd4, eabe6d4
- Parents:
- 6f10697
- Location:
- protocols/oscar
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/auth.c
r6f10697 r6b13103 125 125 return -EINVAL; 126 126 127 if ( isdigit(sn[0]) && set_getbool(&ic->acc->set, "old_icq_auth"))127 if (g_ascii_isdigit(sn[0]) && set_getbool(&ic->acc->set, "old_icq_auth")) 128 128 return goddamnicq(sess, conn, sn); 129 129 -
protocols/oscar/oscar.c
r6f10697 r6b13103 368 368 { 369 369 set_t *s; 370 gboolean icq = isdigit(acc->user[0]);370 gboolean icq = g_ascii_isdigit(acc->user[0]); 371 371 372 372 if (icq) { … … 394 394 struct oscar_data *odata = ic->proto_data = g_new0(struct oscar_data, 1); 395 395 396 if ( isdigit(acc->user[0]))396 if (g_ascii_isdigit(acc->user[0])) 397 397 odata->icq = TRUE; 398 398 else … … 2500 2500 char * chatname, *s; 2501 2501 2502 chatname = g_strdup_printf("%s%s%d", isdigit(*ic->acc->user) ? "icq" : "",2502 chatname = g_strdup_printf("%s%s%d", g_ascii_isdigit(*ic->acc->user) ? "icq" : "", 2503 2503 ic->acc->user, chat_id++); 2504 2504 2505 2505 for (s = chatname; *s; s ++) 2506 if (! isalnum(*s))2506 if (!g_ascii_isalnum(*s)) 2507 2507 *s = '0'; 2508 2508 -
protocols/oscar/oscar_util.c
r6f10697 r6b13103 57 57 curPtr2++; 58 58 } else { 59 if ( toupper(*curPtr1) !=toupper(*curPtr2))59 if ( g_ascii_toupper(*curPtr1) != g_ascii_toupper(*curPtr2)) 60 60 return 1; 61 61 curPtr1++;
Note: See TracChangeset
for help on using the changeset viewer.