Changeset 12c35df for logging.c


Ignore:
Timestamp:
Oct 28, 2003, 7:56:35 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:
cee1f25
Parents:
faf71b5
Message:
Fixed replies to loopback messages
Fixed smartnarrow on classes/instances with spaces
Don't allow duplicates in command history
Added the 'loggingdirection' variable
All loopback messages log to 'loopback' now
Print an error message if trying an invalid color for a filter
Fixed bug causing > not to go to end of editwin every time
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    re3d9c77 r12c35df  
    1313  char *tobuff, *ptr="";
    1414
     15  if (owl_global_get_loggingdirection(&g)==OWL_LOGGING_DIRECTION_IN) return;
     16
    1517  tobuff=owl_malloc(strlen(to)+20);
    1618  strcpy(tobuff, to);
     
    6163  char *tobuff;
    6264
     65  if (owl_global_get_loggingdirection(&g)==OWL_LOGGING_DIRECTION_IN) return;
     66
    6367  tobuff=owl_sprintf("aim:%s", to);
    6468
     
    102106  char *tobuff;
    103107
    104   tobuff=owl_sprintf("loopback:%s", "loppback");
     108  if (owl_global_get_loggingdirection(&g)==OWL_LOGGING_DIRECTION_IN) return;
     109
     110  tobuff=owl_sprintf("loopback");
    105111
    106112  /* expand ~ in path names */
     
    143149  char *frombuff=NULL, *from=NULL, *buff=NULL, *ptr;
    144150  int len, ch, i, personal;
     151
     152  if (owl_global_get_loggingdirection(&g)==OWL_LOGGING_DIRECTION_OUT) return;
    145153     
    146154  /* check for nolog */
Note: See TracChangeset for help on using the changeset viewer.