Code

proto: Renamed sdb_proto_get_int to sdb_proto_unmarshal_int.
[sysdb.git] / src / tools / sysdb / command.c
index 9589875300d468c7b9e6b7268fef5705a9580773..e859bc795db43fc49d64c852fdd8f4f408c6e6e2 100644 (file)
@@ -49,7 +49,7 @@
 static void
 log_printer(sdb_strbuf_t *buf)
 {
-       uint32_t prio = sdb_proto_get_int(buf, 0);
+       uint32_t prio = sdb_proto_unmarshal_int(buf, 0);
 
        if (prio == UINT32_MAX) {
                sdb_log(SDB_LOG_WARNING, "Received a LOG message with invalid "