Ignore:
Timestamp:
Feb 7, 2010, 10:17:42 PM (12 years ago)
Author:
charles
Message:

(trunk daemon) #2877 "Don't let the daemon launch if settings.json is corrupt" -- implemented in trunk for 1.90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r10069 r10135  
    4747
    4848
    49 int                   messageLevel = 0;
     49int                   messageLevel = TR_MSG_INF;
    5050static tr_lock *      messageLock = NULL;
    5151static tr_bool        messageQueuing = FALSE;
     
    285285    va_list ap;
    286286
    287     tr_lockLock( messageLock );
     287    if( messageLock != NULL )
     288        tr_lockLock( messageLock );
    288289
    289290    /* build the text message */
     
    343344    }
    344345
    345     tr_lockUnlock( messageLock );
     346    if( messageLock != NULL )
     347        tr_lockUnlock( messageLock );
     348
    346349    errno = err;
    347350}
Note: See TracChangeset for help on using the changeset viewer.