diff options
author | portix <none@none> | 2012-06-24 13:41:01 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-24 13:41:01 +0200 |
commit | 606be3129817fa096550734314b7d1ac85b2c02e (patch) | |
tree | e36038a1d18b6c42bacbea8133f229cc546fa447 /src/util.c | |
parent | d9e78be255c203ed463e70449b02910e8ff23159 (diff) | |
download | dwb-606be3129817fa096550734314b7d1ac85b2c02e.zip |
Replace dwb.files struct with a char-array, free all paths when in dwb_clean_up
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ util_get_temp_filename(const char *prefix) { struct timeval t; gettimeofday(&t, NULL); char *filename = g_strdup_printf("%s%lu", prefix, t.tv_usec + t.tv_sec*1000000); - char *cache_path = g_build_filename(dwb.files.cachedir, filename, NULL); + char *cache_path = g_build_filename(dwb.files[FILES_CACHEDIR], filename, NULL); g_free(filename); return cache_path; |