git-svn-id: svn://db.shs.com.ru/pip@384 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "piintrospection.h"
|
||||
#include "pisysteminfo.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
PIIntrospectionContainers::PIIntrospectionContainers() {
|
||||
@@ -105,7 +104,7 @@ PIIntrospectionServer::PIIntrospectionServer(): PIPeer(genName()) {
|
||||
|
||||
PIString PIIntrospectionServer::genName() {
|
||||
randomize();
|
||||
return "__introspection__server_" + PIString::fromNumber(rand() % 1000);
|
||||
return "__introspection__server_" + PIString::fromNumber(randomi() % 1000);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user