diff options
author | Stephan Schwaer | 2015-05-08 14:39:03 +0200 |
---|---|---|
committer | Stephan Schwaer | 2015-05-08 14:39:03 +0200 |
commit | f256a4761887b581def7d557ee348452358704bb (patch) | |
tree | da1bacc0e19a13568bc6cfb42176dca1b1ce34bb /src/server/rpc.c | |
parent | [SERVER] Rename some more RPC fields (diff) | |
download | dnbd3-f256a4761887b581def7d557ee348452358704bb.tar.gz dnbd3-f256a4761887b581def7d557ee348452358704bb.tar.xz dnbd3-f256a4761887b581def7d557ee348452358704bb.zip |
[SERVER] Renamed image_fillJson to image_getListAsJson.
Diffstat (limited to 'src/server/rpc.c')
-rw-r--r-- | src/server/rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/rpc.c b/src/server/rpc.c index f010e73..b709b94 100644 --- a/src/server/rpc.c +++ b/src/server/rpc.c @@ -26,7 +26,7 @@ void rpc_sendStatsJson(int sock) json_t *statisticsJson = json_pack( "{sIsI}", "bytesReceived", (json_int_t) bytesReceived, "bytesSent", (json_int_t) bytesSent ); json_object_set_new( statisticsJson, "clients", jsonClients ); - json_object_set_new( statisticsJson, "images", image_fillJson() ); + json_object_set_new( statisticsJson, "images", image_getListAsJson() ); json_object_set_new( statisticsJson, "uptime", json_integer( uptime ) ); char *jsonString = json_dumps( statisticsJson, 0 ); |