Changeset f562355


Ignore:
Timestamp:
Jun 27, 2003, 1:06:31 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
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:
1d3e925
Parents:
e7cc1c3
Message:
Fixed logic bug in previous checkin
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    re7cc1c3 rf562355  
    18021802        inst=owl_message_get_sender(m);
    18031803        to=OWL_WEBZEPHYR_PRINCIPAL;
    1804       }
    1805 
    1806       /* Special case LOGIN/LOGOUT notifications on class "webzephyr" */
    1807       if (!strcasecmp(owl_message_get_class(m), "webzephyr") &&
    1808           owl_message_is_loginout(m)) {
     1804      } else if (!strcasecmp(owl_message_get_class(m), "webzephyr") &&
     1805                 owl_message_is_loginout(m)) {
     1806        /* Special case LOGIN/LOGOUT notifications on class "webzephyr" */
    18091807        class="webzephyr";
    18101808        inst=owl_message_get_instance(m);
    18111809        to=OWL_WEBZEPHYR_PRINCIPAL;
    1812       }
    1813      
    1814       if (owl_message_is_loginout(m)) {
     1810      } else if (owl_message_is_loginout(m)) {
     1811        /* Normal LOGIN/LOGOUT messages */
    18151812        class="MESSAGE";
    18161813        inst="PERSONAL";
    18171814        to=owl_message_get_sender(m);
    18181815      } else if (type==1) {
     1816        /* Personal reply */
    18191817        class="MESSAGE";
    18201818        inst="PERSONAL";
    18211819        to=owl_message_get_sender(m);
    18221820      } else {
     1821        /* General reply */
    18231822        class=owl_message_get_class(m);
    18241823        inst=owl_message_get_instance(m);
Note: See TracChangeset for help on using the changeset viewer.