]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - file_write.c
Merge topic branch t/sf_float into pu
[paraslash.git] / file_write.c
index 5435db444c013c9bea8a4b00f204261d5303571d..0a5d6bbaf2505618edecde49063036d08a876894 100644 (file)
@@ -31,13 +31,8 @@ struct private_file_write_data {
  */
 __must_check __malloc static char *random_filename(void)
 {
-       char *result;
-       const char *home = get_homedir();
-
        srandom(clock_get_realtime(NULL)->tv_usec);
-       result = make_message("%s/.paraslash/%08ld", home,
-               para_random(99999999));
-       return result;
+       return make_message("%s/%08ld", get_confdir(), para_random(99999999));
 }
 
 static int prepare_output_file(struct writer_node *wn)