remote-curl: pass curl slot_results back through run_slot
commit3a347ed70727cdcb447040705b4128304c0244e3
authorJeff King <peff@peff.net>
Thu, 31 Oct 2013 06:36:26 +0000 (31 02:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Oct 2013 17:05:59 +0000 (31 10:05 -0700)
treef0406a4d2dd21b8d18b6adb49c1f221e59acca7a
parent0972ccd97cc8f913ea828a1e03ef3652fc1ff514
remote-curl: pass curl slot_results back through run_slot

Some callers may want to know more than just the integer
error code we return. Let them optionally pass a
slot_results struct to fill in (or NULL if they do not
care). In either case we continue to return the integer
code.

We can also give probe_rpc the same treatment (since it
builds directly on run_slot).

Signed-off-by: Jeff King <peff@peff.net>
remote-curl.c