move mfconn_update_secret_key into the apicalls

This commit is contained in:
josch
2014-12-05 14:02:33 +01:00
parent 7e26de7e2a
commit 73123d87e9
30 changed files with 13 additions and 30 deletions

View File

@@ -57,6 +57,7 @@ int mfconn_api_device_get_changes(mfconn * conn, uint64_t revision,
http_get_buf(http, api_call, _decode_device_get_changes,
(void *)changes);
http_destroy(http);
mfconn_update_secret_key(conn);
free((void *)api_call);