Changeset 14232


Ignore:
Timestamp:
Jan 19, 2014, 4:26:45 AM (7 years ago)
Author:
jordan
Message:

in debugf(), don't call fflush() on a null pointer. Xref: https://trac.transmissionbt.com/ticket/4531#comment:73

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/dht/dht.c

    r12588 r14232  
    327327    va_list args;
    328328    va_start(args, format);
    329     if(dht_debug)
     329    if(dht_debug) {
    330330        vfprintf(dht_debug, format, args);
     331        fflush(dht_debug);
     332    }
    331333    va_end(args);
    332     fflush(dht_debug);
    333334}
    334335
Note: See TracChangeset for help on using the changeset viewer.