Changeset 1065dd4 for protocols/oscar
- Timestamp:
- 2015-01-17T20:00:49Z (10 years ago)
- Branches:
- master
- Children:
- eb4ad8d
- Parents:
- bc7a0d4 (diff), 6b13103 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols/oscar
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/auth.c
rbc7a0d4 r1065dd4 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
rbc7a0d4 r1065dd4 19 19 * You should have received a copy of the GNU General Public License 20 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 22 * 23 23 */ … … 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
rbc7a0d4 r1065dd4 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.