mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-08 22:08:02 +00:00
Case-insensitive string algorithm comparison
This commit is contained in:
parent
7cee9c6660
commit
85290b21d8
@ -1051,7 +1051,7 @@ void copy_algorithm_settings(algorithm_t* dest, const char* algo)
|
||||
// Find algorithm settings and copy
|
||||
for (src = algos; src->name; src++)
|
||||
{
|
||||
if (strcmp(src->name, algo) == 0)
|
||||
if (strcasecmp(src->name, algo) == 0)
|
||||
{
|
||||
strcpy(dest->name, src->name);
|
||||
dest->kernelfile = src->kernelfile;
|
||||
|
Loading…
Reference in New Issue
Block a user