Changeset 10969


Ignore:
Timestamp:
Jul 7, 2010, 6:51:23 PM (12 years ago)
Author:
charles
Message:

(trunk daemon) fix r10968 oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r10968 r10969  
    476476    pid_filename = NULL;
    477477    tr_bencDictFindStr( &settings, PREF_KEY_PIDFILE, &pid_filename );
    478     if( pid_filename != NULL )
     478    if( pid_filename && *pid_filename )
    479479    {
    480480        FILE * fp = fopen( pid_filename, "w+" );
Note: See TracChangeset for help on using the changeset viewer.