Changeset ae4cd12
- Timestamp:
- Jun 4, 2003, 2:55:59 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 5789230
- Parents:
- 65ad073
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aim.c
r6a415e9 rae4cd12 422 422 char buddies[128]; /* this is the new buddy list */ 423 423 char profile[256]; /* this is the new profile */ 424 char awaymsg[] = {"blah blah blah Ole! blah blah blah"};424 /* char awaymsg[] = {"blah blah blah Ole! blah blah blah"}; */ 425 425 426 426 /* Caution: Buddy1 and Buddy2 are real people! (who I don't know) */ … … 1197 1197 { 1198 1198 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data; 1199 char *tmpstr;1200 1199 int clienttype = AIM_CLIENTTYPE_UNKNOWN; 1201 1200 owl_message *m; 1202 char *stripmsg ;1201 char *stripmsg, *nz_screenname; 1203 1202 char realmsg[8192+1] = {""}; 1204 1203 clienttype = aim_fingerprintclient(args->features, args->featureslen); … … 1241 1240 int i; 1242 1241 1243 for (i = 0; i < args->msglen; i +=2) {1242 for (i=0; i<args->msglen; i+=2) { 1244 1243 fu16_t uni; 1245 1244 … … 1276 1275 /* create a message, and put it on the message queue */ 1277 1276 stripmsg=owl_text_htmlstrip(realmsg); 1277 nz_screenname=owl_aim_normalize_screenname(userinfo->sn); 1278 1278 m=owl_malloc(sizeof(owl_message)); 1279 owl_message_create_incoming_aim(m, userinfo->sn, owl_global_get_aim_screenname(&g), stripmsg);1279 owl_message_create_incoming_aim(m, nz_screenname, owl_global_get_aim_screenname(&g), stripmsg); 1280 1280 owl_global_messagequeue_addmsg(&g, m); 1281 1281 owl_free(stripmsg); 1282 owl_free(nz_screenname); 1282 1283 1283 1284 return(1); … … 1403 1404 { 1404 1405 aim_userinfo_t *userinfo; 1406 char *nz_screenname; 1405 1407 1406 1408 va_list ap; … … 1410 1412 1411 1413 /* first check that we're not still ignoreing login messages */ 1412 if (!owl_timer_is_expired(owl_global_get_aim_login_timer(&g))) return; 1413 1414 owl_buddylist_oncoming(owl_global_get_buddylist(&g), userinfo->sn); 1414 if (!owl_timer_is_expired(owl_global_get_aim_login_timer(&g))) return(1); 1415 1416 nz_screenname=owl_aim_normalize_screenname(userinfo->sn); 1417 owl_buddylist_oncoming(owl_global_get_buddylist(&g), nz_screenname); 1418 owl_free(nz_screenname); 1415 1419 1416 1420 /* … … 1435 1439 { 1436 1440 aim_userinfo_t *userinfo; 1441 char *nz_screenname; 1437 1442 va_list ap; 1438 1443 … … 1441 1446 va_end(ap); 1442 1447 1443 owl_buddylist_offgoing(owl_global_get_buddylist(&g), userinfo->sn); 1448 nz_screenname=owl_aim_normalize_screenname(userinfo->sn); 1449 owl_buddylist_offgoing(owl_global_get_buddylist(&g), nz_screenname); 1450 owl_free(nz_screenname); 1444 1451 1445 1452 /*
Note: See TracChangeset
for help on using the changeset viewer.