aboutsummaryrefslogtreecommitdiff
path: root/client/rl.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-23 13:39:16 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-23 13:39:16 +0200
commit3fd5c9e58f2d4ce3cdea41a3f37235ef0de57d39 (patch)
tree52bc0c5112e1267e210d283f0727d692c062ee42 /client/rl.cpp
parent46eb2370e53c3a1c7eb593ca99c07944c81ec695 (diff)
fix client compile errors
Diffstat (limited to 'client/rl.cpp')
-rw-r--r--client/rl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/rl.cpp b/client/rl.cpp
index f839d96..2e74e5f 100644
--- a/client/rl.cpp
+++ b/client/rl.cpp
@@ -57,7 +57,7 @@ static char* rl_completion_entries(const char *text, int state) {
if (state == 0) i = 0;
while (i < cmds_length) {
- struct cmd cmd = cmds[i];
+ cmd_t cmd = cmds[i];
i++;
if (strncmp(text, cmd.name, strlen(text)) == 0) {
return strdup(cmd.name);