Changeset a836200


Ignore:
Timestamp:
Oct 21, 2003, 6:35:42 AM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
15283bb
Parents:
1077753b
Message:
Do an erro and admin message for failed AIM send.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r1077753b ra836200  
    66        Added an extral newline in logging incoming zephyrs
    77        An admin message is displayed when you are logged out of AIM
     8        Print an error message and admin message if an AIM send fails
    89       
    9102.0.9
  • aim.c

    r1077753b ra836200  
    16081608 
    16091609  /* printf("snac threw error (reason 0x%04x: %s)\n", reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */
     1610  if (reason<msgerrreasonslen) owl_function_error(msgerrreasons[reason]);
    16101611 
    16111612  return 1;
     
    16241625 
    16251626  /* printf("message to %s bounced (reason 0x%04x: %s)\n", destsn, reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */
     1627  if (reason<msgerrreasonslen) owl_function_error(msgerrreasons[reason]);
     1628
     1629  if (reason==4) {
     1630    owl_function_adminmsg("", "Could not send AIM message, user not logged on");
     1631  }
    16261632 
    16271633  return 1;
     
    16401646 
    16411647  /* printf("user information for %s unavailable (reason 0x%04x: %s)\n", destsn, reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */
     1648  if (reason<msgerrreasonslen) owl_function_error(msgerrreasons[reason]);
    16421649 
    16431650  return 1;
Note: See TracChangeset for help on using the changeset viewer.