Changeset 14240


Ignore:
Timestamp:
Jan 21, 2014, 2:27:46 AM (7 years ago)
Author:
jordan
Message:

(trunk, libT) #5467: 'transmission-daemon SEGFAULTs on startup without error message if ~/.config does not exist and ~ is not writeable' -- nice quick fix by mike.dld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r14225 r14240  
    22402240  dirname = tr_buildPath (session->configDir, "blocklists", NULL);
    22412241  odir = opendir (dirname);
     2242  if (odir == NULL)
     2243    {
     2244      tr_free (dirname);
     2245      return;
     2246    }
     2247
    22422248  while ((d = readdir (odir)))
    22432249    {
Note: See TracChangeset for help on using the changeset viewer.