Changeset 3c7d086a for logging.c


Ignore:
Timestamp:
Sep 26, 2005, 3:48:37 PM (15 years ago)
Author:
Erik Nygren <nygren@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:
0154e2d
Parents:
e74e573
Message:
Fix for BZ 90:
   crash when sending/logging outgoing AIM message and not logged in

Also made the message log deal with getting passed a NULL message.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    r180cd15 r3c7d086a  
    1313void owl_log_message(owl_message *m) {
    1414  owl_function_debugmsg("owl_log_message: entering");
     15
     16  if (m == NULL) {
     17    owl_function_debugmsg("owl_log_message: passed null message");
     18    return;
     19  }
    1520
    1621  /* should we be logging this message? */
Note: See TracChangeset for help on using the changeset viewer.