Browse Source

Add proxy info to verbose share result logging

master
Con Kolivas 10 years ago
parent
commit
b3589a71f3
  1. 7
      src/generator.c

7
src/generator.c

@ -1452,11 +1452,12 @@ static bool parse_share(proxy_instance_t *proxi, const char *buf)
* so long as we recognised it as a share response */ * so long as we recognised it as a share response */
ret = true; ret = true;
if (!share) { if (!share) {
LOGINFO("Failed to find matching share to result: %s", buf); LOGINFO("Proxy %d:%d failed to find matching share to result: %s",
proxi->id, proxi->subid, buf);
goto out; goto out;
} }
LOGINFO("Found share result %s from client %d with msg_id %d", buf, share->client_id, LOGINFO("Proxy %d:%d share result %s from client %d with msg_id %d", proxi->id,
share->msg_id); proxi->subid, buf, share->client_id, share->msg_id);
free(share); free(share);
out: out:
if (val) if (val)

Loading…
Cancel
Save