This commit is contained in:
Marcello Stanisci 2019-01-23 15:46:07 +01:00
parent d5ee6e1d07
commit 16002d2078
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -259,7 +259,6 @@ decode_version_json (const json_t *resp_obj,
return GNUNET_OK; return GNUNET_OK;
} }
/** /**
* Initiate download of /version from the auditor. * Initiate download of /version from the auditor.
* *
@ -307,6 +306,7 @@ version_completed_cb (void *cls,
case MHD_HTTP_OK: case MHD_HTTP_OK:
if (NULL == resp_obj) if (NULL == resp_obj)
{ {
TALER_LOG_WARNING ("NULL body for a 200-OK /version\n");
response_code = 0; response_code = 0;
break; break;
} }
@ -342,6 +342,7 @@ version_completed_cb (void *cls,
auditor->vr = NULL; auditor->vr = NULL;
free_version_request (vr); free_version_request (vr);
TALER_LOG_DEBUG ("Switching auditor state to 'version'\n");
auditor->state = MHS_VERSION; auditor->state = MHS_VERSION;
/* notify application about the key information */ /* notify application about the key information */
auditor->version_cb (auditor->version_cb_cls, auditor->version_cb (auditor->version_cb_cls,