Changeset f0cb961 for protocols/yahoo/libyahoo2.c
- Timestamp:
- 2007-04-19T06:03:43Z (17 years ago)
- Branches:
- master
- Children:
- d323394c
- Parents:
- 33dc261
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r33dc261 rf0cb961 2403 2403 where = "Unknown"; 2404 2404 2405 bud = y_new0(struct yahoo_buddy, 1); 2406 bud->id = strdup(who); 2407 bud->group = strdup(where); 2408 bud->real_name = NULL; 2409 2410 yd->buddies = y_list_append(yd->buddies, bud); 2405 /* status: 0 == Successful, 1 == Error (does not exist), 2 == Already in list */ 2406 if( status == 0 ) { 2407 bud = y_new0(struct yahoo_buddy, 1); 2408 bud->id = strdup(who); 2409 bud->group = strdup(where); 2410 bud->real_name = NULL; 2411 2412 yd->buddies = y_list_append(yd->buddies, bud); 2413 2414 /* Possibly called already, but at least the call above doesn't 2415 seem to happen every time (not anytime I tried). */ 2416 YAHOO_CALLBACK(ext_yahoo_contact_added)(yd->client_id, me, who, NULL); 2417 } 2411 2418 2412 2419 /* YAHOO_CALLBACK(ext_yahoo_status_changed)(yd->client_id, who, status, NULL, (status==YAHOO_STATUS_AVAILABLE?0:1)); */
Note: See TracChangeset
for help on using the changeset viewer.