Changeset 13794
- Timestamp:
- Jan 16, 2013, 12:28:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7x/cli/cli.c
r13772 r13794 268 268 { 269 269 if (!tr_fileExists (str, NULL)) 270 tr_mkdirp (str, 0700);271 272 if (tr_fileExists (str, NULL))273 270 { 274 tr_bencDictAddStr (&settings, TR_PREFS_KEY_DOWNLOAD_DIR, str); 275 } 276 else 277 { 278 fprintf (stderr, "Unable to create download directory \"%s\"!\n", str); 279 return EXIT_FAILURE; 271 tr_mkdirp (str, 0700); 272 273 if (!tr_fileExists (str, NULL)) 274 { 275 fprintf (stderr, "Unable to create download directory \"%s\"!\n", str); 276 return EXIT_FAILURE; 277 } 280 278 } 281 279 }
Note: See TracChangeset
for help on using the changeset viewer.