kopia lustrzana https://github.com/Hamlib/Hamlib
Change random call to rand for portability
https://github.com/Hamlib/Hamlib/issues/813pull/1022/head
rodzic
8f1178c552
commit
c68233e9d5
|
@ -50,7 +50,7 @@ HAMLIB_EXPORT(void) rig_password_generate_secret(char *pass,
|
|||
|
||||
srand(product);
|
||||
|
||||
snprintf(newpass, sizeof(newpass) - 1, "%s\t%lu\n", pass, (long)random());
|
||||
snprintf(newpass, sizeof(newpass) - 1, "%s\t%lu\n", pass, (long)rand());
|
||||
printf("debug=%s\n", newpass);
|
||||
char *md5str = make_md5(newpass);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue