Ignore:
Timestamp:
May 15, 2008, 10:08:43 PM (14 years ago)
Author:
charles
Message:

minor logging tweak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r5838 r5839  
    252252                if( fp == NULL )
    253253                    fp = stderr;
    254                 fprintf( fp, "%s\n", (char*)EVBUFFER_DATA(buf) );
     254                if( name )
     255                    fprintf( fp, "%s: %s\n", name, (char*)EVBUFFER_DATA(buf) );
     256                else
     257                    fprintf( fp, "%s\n", (char*)EVBUFFER_DATA(buf) );
    255258                fflush( fp );
    256259            }
Note: See TracChangeset for help on using the changeset viewer.