Browse Source

Avoid uninit buf

master
Con Kolivas 10 years ago
parent
commit
fff2028591
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -1540,7 +1540,7 @@ static int send_recv_auth(stratum_instance_t *client)
{ {
user_instance_t *user_instance = client->user_instance; user_instance_t *user_instance = client->user_instance;
ckpool_t *ckp = client->ckp; ckpool_t *ckp = client->ckp;
char *buf, *json_msg; char *buf = NULL, *json_msg;
char cdfield[64]; char cdfield[64];
int ret = 1; int ret = 1;
json_t *val; json_t *val;

Loading…
Cancel
Save