Mercurial > pidgin
comparison src/oscar.c @ 1247:f50146ce818e
[gaim-migrate @ 1257]
more libfaim stuff
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 13 Dec 2000 00:51:37 +0000 |
parents | 42ca87108cd1 |
children | b5783215b245 |
comparison
equal
deleted
inserted
replaced
1246:42ca87108cd1 | 1247:f50146ce818e |
---|---|
456 va_list ap; | 456 va_list ap; |
457 struct aim_conn_t *bosconn = NULL; | 457 struct aim_conn_t *bosconn = NULL; |
458 char *sn = NULL, *bosip = NULL, *errurl = NULL, *email = NULL; | 458 char *sn = NULL, *bosip = NULL, *errurl = NULL, *email = NULL; |
459 unsigned char *cookie = NULL; | 459 unsigned char *cookie = NULL; |
460 int errorcode = 0, regstatus = 0; | 460 int errorcode = 0, regstatus = 0; |
461 int latestbuild = 0, latestbetabuild = 0; | |
462 char *latestrelease = NULL, *latestbeta = NULL; | |
463 char *latestreleaseurl = NULL, *latestbetaurl = NULL; | |
464 char *latestreleaseinfo = NULL, *latestbetainfo = NULL; | |
461 | 465 |
462 struct gaim_connection *gc = find_gaim_conn_by_aim_sess(sess); | 466 struct gaim_connection *gc = find_gaim_conn_by_aim_sess(sess); |
463 | 467 |
464 va_start(ap, command); | 468 va_start(ap, command); |
465 sn = va_arg(ap, char *); | 469 sn = va_arg(ap, char *); |
467 errurl = va_arg(ap, char *); | 471 errurl = va_arg(ap, char *); |
468 regstatus = va_arg(ap, int); | 472 regstatus = va_arg(ap, int); |
469 email = va_arg(ap, char *); | 473 email = va_arg(ap, char *); |
470 bosip = va_arg(ap, char *); | 474 bosip = va_arg(ap, char *); |
471 cookie = va_arg(ap, unsigned char *); | 475 cookie = va_arg(ap, unsigned char *); |
476 | |
477 latestrelease = va_arg(ap, char *); | |
478 latestbuild = va_arg(ap, int); | |
479 latestreleaseurl = va_arg(ap, char *); | |
480 latestreleaseinfo = va_arg(ap, char *); | |
481 | |
482 latestbeta = va_arg(ap, char *); | |
483 latestbetabuild = va_arg(ap, int); | |
484 latestbetaurl = va_arg(ap, char *); | |
485 latestbetainfo = va_arg(ap, char *); | |
486 | |
472 va_end(ap); | 487 va_end(ap); |
473 | 488 |
474 sprintf(debug_buff, "inside auth_resp (Screen name: %s)\n", sn); | 489 sprintf(debug_buff, "inside auth_resp (Screen name: %s)\n", sn); |
475 debug_print(debug_buff); | 490 debug_print(debug_buff); |
476 | 491 |
503 signoff(gc); | 518 signoff(gc); |
504 return 0; | 519 return 0; |
505 } | 520 } |
506 | 521 |
507 | 522 |
523 debug_printf("Reg status: %2d\n", regstatus); | |
508 if (email) { | 524 if (email) { |
509 debug_printf("Email: %s\n", email); | 525 debug_printf("Email: %s\n", email); |
510 } else { | 526 } else { |
511 debug_printf("Email is NULL\n"); | 527 debug_printf("Email is NULL\n"); |
512 } | 528 } |
513 sprintf(debug_buff, "Closing auth connection...\n"); | 529 debug_printf("BOSIP: %s\n", bosip); |
514 debug_print(debug_buff); | 530 if (latestbeta) |
531 debug_printf("Latest WinAIM beta version %s, build %d, at %s (%s)\n", | |
532 latestbeta, latestbetabuild, latestbetaurl, latestbetainfo); | |
533 if (latestrelease) | |
534 debug_printf("Latest WinAIM released version %s, build %d, at %s (%s)\n", | |
535 latestrelease, latestbuild, latestreleaseurl, latestreleaseinfo); | |
536 debug_printf("Closing auth connection...\n"); | |
515 gdk_input_remove(gc->inpa); | 537 gdk_input_remove(gc->inpa); |
516 aim_conn_kill(sess, &command->conn); | 538 aim_conn_kill(sess, &command->conn); |
517 | 539 |
518 bosconn = aim_newconn(sess, AIM_CONN_TYPE_BOS, bosip); | 540 bosconn = aim_newconn(sess, AIM_CONN_TYPE_BOS, bosip); |
519 if (bosconn == NULL) { | 541 if (bosconn == NULL) { |