mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-27 13:50:33 +00:00
fix query system invalid domain printouts
This commit is contained in:
parent
d5e934bdba
commit
cc28c04b44
1 changed files with 3 additions and 1 deletions
|
@ -394,7 +394,9 @@ void handle_message(int sockfd, char* message) {
|
|||
handle_domain_trigger(rsp, command, rbr_msg);
|
||||
free(rbr_msg);
|
||||
} else if (token_equals(command, DOMAIN_QUERY)) {
|
||||
handle_domain_query(rsp, command, message);
|
||||
char* rbr_msg = get_batch_line(&message);
|
||||
handle_domain_query(rsp, command, rbr_msg);
|
||||
free(rbr_msg);
|
||||
} else {
|
||||
fprintf(rsp, "unknown domain '%.*s'\n", command.length, command.text);
|
||||
printf("unknown domain '%.*s'\n", command.length, command.text);
|
||||
|
|
Loading…
Reference in a new issue