- Timestamp:
- 2010-12-16T21:02:16Z (14 years ago)
- Branches:
- master
- Children:
- 191cfb1
- Parents:
- c5920df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
rc5920df rfe79f7a7 47 47 if( jd->flags & JFLAG_XMLCONSOLE ) 48 48 { 49 char *msg ;49 char *msg, *s; 50 50 51 51 msg = g_strdup_printf( "TX: %s", buf ); 52 /* Don't include auth info in XML logs. */ 53 if( strncmp( msg, "TX: <auth ", 10 ) == 0 && ( s = strchr( msg, '>' ) ) ) 54 { 55 s++; 56 while( *s && *s != '<' ) 57 *(s++) = '*'; 58 } 52 59 imcb_buddy_msg( ic, JABBER_XMLCONSOLE_HANDLE, msg, 0, 0 ); 53 60 g_free( msg );
Note: See TracChangeset
for help on using the changeset viewer.