Changeset 13793 for trunk/cli/cli.c
- Timestamp:
- Jan 16, 2013, 12:21:02 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/cli.c
r13764 r13793 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_variantDictAddStr (&settings, TR_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.