Changeset 672 for trunk/c2s/authreg.c

Show
Ignore:
Timestamp:
15/08/08 19:50:22 (5 months ago)
Author:
smoku
Message:

Implemented logging of compressed conection established. Closes #243

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/c2s/authreg.c

    r629 r672  
    322322    if(authd) 
    323323    { 
    324         log_write(c2s->log, LOG_NOTICE, "[%d] legacy authentication succeeded: host=%s, username=%s, resource=%s%s", sess->s->tag, sess->host->realm, username, resource, sess->s->ssf ? ", TLS negotiated" : ""); 
     324        log_write(c2s->log, LOG_NOTICE, "[%d] legacy authentication succeeded: host=%s, username=%s, resource=%s%s%s", sess->s->tag, sess->host->realm, username, resource, sess->s->ssf ? ", TLS negotiated" : "", sess->s->compressed ? ", ZLIB compression enabled" : ""); 
    325325 
    326326        /* create new bound jid holder */