Browse Source

Set useragent to blank string when no array fields are filled in for stratum

master
Con Kolivas 11 years ago
parent
commit
af0acbeb6a
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -1143,7 +1143,8 @@ static json_t *parse_subscribe(int client_id, json_t *params_val)
old_match = true;
}
}
}
} else
client->useragent = ckzalloc(1);
if (!old_match) {
/* Create a new extranonce1 based on a uint64_t pointer */
new_enonce1(client);

Loading…
Cancel
Save