tracker r1771 - branches/indexer-split/src/trackerd



Author: pvanhoof
Date: Thu Jun 26 11:22:57 2008
New Revision: 1771
URL: http://svn.gnome.org/viewvc/tracker?rev=1771&view=rev

Log:
s/rand/g_random_int

Modified:
   branches/indexer-split/src/trackerd/tracker-xesam-manager.c

Modified: branches/indexer-split/src/trackerd/tracker-xesam-manager.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-xesam-manager.c	(original)
+++ branches/indexer-split/src/trackerd/tracker-xesam-manager.c	Thu Jun 26 11:22:57 2008
@@ -391,7 +391,7 @@
 	u = 0;
 #endif
 
-	r = rand ();
+	r = g_random_int ();
 	key = g_strdup_printf ("%ut%uut%uu%up%ur%uk%u",
 			       serial, t, ut, u, p, r,
 			       GPOINTER_TO_UINT (&key));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]