aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index bf6c29d..b701709 100644
--- a/command.c
+++ b/command.c
@@ -277,7 +277,7 @@ bool handle_input_line(struct conn_data *data,char *line,size_t linelen){
size_t cursor=cmdlen+1;
for(int i=0;i<nargs;i++){
- if(cursor>=linelen){
+ if(cursor>linelen){
debug("Connection %d sent too few parameters to command %s",data->fd,commands[cmdi].cmdname);
return true;
}