X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Ftools%2Fsysdb%2Fcommand.c;h=143661868d49204c9436bdd2e370a1346881df71;hp=81f679233d969ccb203f5f938c07e6d5f98fd693;hb=5e20183e0a2264e0aed972ceff913374ab970248;hpb=78afb86958fddb5a8f3632748abd3dc63d7fa4bc diff --git a/src/tools/sysdb/command.c b/src/tools/sysdb/command.c index 81f6792..1436618 100644 --- a/src/tools/sysdb/command.c +++ b/src/tools/sysdb/command.c @@ -87,8 +87,8 @@ static struct { int status; void (*printer)(sdb_strbuf_t *); } response_printers[] = { - { CONNECTION_LOG, log_printer }, - { CONNECTION_DATA, data_printer }, + { SDB_CONNECTION_LOG, log_printer }, + { SDB_CONNECTION_DATA, data_printer }, }; /* @@ -169,7 +169,7 @@ sdb_command_exec(sdb_input_t *input) data = strndup(query, query_len); /* ignore errors; we'll only hide the command from the caller */ - sdb_client_send(input->client, CONNECTION_QUERY, query_len, query); + sdb_client_send(input->client, SDB_CONNECTION_QUERY, query_len, query); /* The server will send back *something*, either error/log messages * and/or the reply to the query. Here, we don't care about what it