Changeset fe3b017 for logging.c


Ignore:
Timestamp:
Mar 24, 2011, 5:14:41 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
1a30f05
Parents:
3a3863e
Message:
Correctly set the realm in outgoing zwrite errors

Don't set the zwrite realm, as that only confuses things. Also take the
realm (which we now don't set) into account when extracting the
recipient.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    re5da3fe rfe3b017  
    179179  FILE *file;
    180180  char *filename, *logpath;
    181   char *tobuff;
     181  char *tobuff, *recip;
    182182  owl_message *m;
    183183
     
    195195
    196196  /* chop off a local realm */
    197   tobuff = short_zuser(owl_list_get_element(&(zw->recips), 0));
     197  recip = owl_zwrite_get_recip_n_with_realm(zw, 0);
     198  tobuff = short_zuser(recip);
     199  g_free(recip);
    198200
    199201  /* expand ~ in path names */
Note: See TracChangeset for help on using the changeset viewer.