Browse Source

Unnecessary test

master
Con Kolivas 9 years ago
parent
commit
9fe2ef162d
  1. 16
      src/ckpool.c

16
src/ckpool.c

@ -1771,15 +1771,13 @@ int main(int argc, char **argv)
ckp.btcdpass = ckzalloc(sizeof(char *)); ckp.btcdpass = ckzalloc(sizeof(char *));
ckp.btcdnotify = ckzalloc(sizeof(bool)); ckp.btcdnotify = ckzalloc(sizeof(bool));
} }
if (ckp.btcds) { for (i = 0; i < ckp.btcds; i++) {
for (i = 0; i < ckp.btcds; i++) { if (!ckp.btcdurl[i])
if (!ckp.btcdurl[i]) ckp.btcdurl[i] = strdup("localhost:8332");
ckp.btcdurl[i] = strdup("localhost:8332"); if (!ckp.btcdauth[i])
if (!ckp.btcdauth[i]) ckp.btcdauth[i] = strdup("user");
ckp.btcdauth[i] = strdup("user"); if (!ckp.btcdpass[i])
if (!ckp.btcdpass[i]) ckp.btcdpass[i] = strdup("pass");
ckp.btcdpass[i] = strdup("pass");
}
} }
ckp.donaddress = "14BMjogz69qe8hk9thyzbmR5pg34mVKB1e"; ckp.donaddress = "14BMjogz69qe8hk9thyzbmR5pg34mVKB1e";

Loading…
Cancel
Save