comparison src/protocols/oscar/oscar.c @ 5435:a2f26666de42

[gaim-migrate @ 5817] Phroggie says windows doesn't have a z modifier, so I'm just going to change size_t to an int, since it really doesn't matter. I also changed some sprintf's to snprintf's, I'm not really sure why. Changed a printf to gaim_debug in oscar.c, I don't know how that got in there. And I applied a patch that adds an optional callback thing for when a connection is closed. Gaim doesn't use it, but the guy that submitted the patch said it was useful to him. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 May 2003 19:13:21 +0000
parents 7955274fa92b
children ad445074d239
comparison
equal deleted inserted replaced
5434:3034e83c1a49 5435:a2f26666de42
2967 case 0x0002: { /* Typing */ 2967 case 0x0002: { /* Typing */
2968 serv_got_typing(gc, sn, 0, TYPING); 2968 serv_got_typing(gc, sn, 0, TYPING);
2969 } break; 2969 } break;
2970 2970
2971 default: { 2971 default: {
2972 printf("Received unknown typing notification message from %s. Type1 is 0x%04x and type2 is 0x%04hx.\n", sn, type1, type2); 2972 gaim_debug(GAIM_DEBUG_ERROR, "oscar", "Received unknown typing notification message from %s. Type1 is 0x%04x and type2 is 0x%04hx.\n", sn, type1, type2);
2973 } break; 2973 } break;
2974 } 2974 }
2975 2975
2976 return 1; 2976 return 1;
2977 } 2977 }