diff audacious/util.c @ 1891:46576f74b3a1 trunk

[svn] - use rand() instead
author nenolod
date Sun, 22 Oct 2006 12:12:43 -0700
parents 90d95cd7edb5
children 6b4116c34489
line wrap: on
line diff
--- a/audacious/util.c	Sun Oct 22 11:54:51 2006 -0700
+++ b/audacious/util.c	Sun Oct 22 12:12:43 2006 -0700
@@ -323,7 +323,7 @@
         return NULL;
     }
 #else
-    tmpdir = g_strdup_printf("%s/audacious.%ld", g_get_tmp_dir(), time(NULL));
+    tmpdir = g_strdup_printf("%s/audacious.%ld", g_get_tmp_dir(), rand());
     make_directory(tmpdir, mode755);
 #endif