diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-04 10:31:20 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-04 10:31:20 +0000 |
commit | a8951213805924a73114984e43d50899cefb6f4d (patch) | |
tree | 7f825215d5c0c965e21b98de69afe41e466700c4 /src/procmsg.c | |
parent | 8e645104879753898e43fa707fffe31ee5a2c3bf (diff) |
replaced random() with g_random_*().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@464 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/procmsg.c')
-rw-r--r-- | src/procmsg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/procmsg.c b/src/procmsg.c index fb7c0fd4..0a5ebe31 100644 --- a/src/procmsg.c +++ b/src/procmsg.c @@ -1276,8 +1276,7 @@ gint procmsg_send_queue(FolderItem *queue, gboolean save_msgs, } g_snprintf(tmp, sizeof(tmp), "%s%ctmpmsg.out.%08x", - get_rc_dir(), G_DIR_SEPARATOR, - (guint)random()); + get_rc_dir(), G_DIR_SEPARATOR, g_random_int()); if (send_get_queue_contents(qinfo, tmp) == 0) { if (save_msgs) { |