Masanobu Yasui authored on 2013/10/28 16:23:50
Showing 1 changed files
... ...
@@ -55,7 +55,7 @@ void pingpong(int n)
55 55
   gettimeofday(&lastpong, NULL);
56 56
   switch(n){
57 57
     case 0:
58
-      srand((unsigned int)time(NULL));
58
+      srand((unsigned int)clock());
59 59
       m->mdata.head.opcode = MAKUO_OP_PING;
60 60
       break;
61 61
     case 1: