Skip to content

Commit

Permalink
Typos in the OSD GET response
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Dec 4, 2024
1 parent d4c8a5e commit b3cbdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ void respond_request(struct Request *req) {
"Content-Type: application/json;charset=UTF-8\r\n"
"Connection: close\r\n"
"\r\n"
"{\"id\":%d,\"color\":%#x,\"opal\":%d\"pos\":[%d,%d],\"font\":\"%s\",\"size\":%.1f,\"text\":\"%s\"}",
"{\"id\":%d,\"color\":\"%#x\",\"opal\":%d,\"pos\":[%d,%d],\"font\":\"%s\",\"size\":%.1f,\"text\":\"%s\"}",
id, osds[id].color, osds[id].opal, osds[id].posx, osds[id].posy, osds[id].font, osds[id].size, osds[id].text);
send_and_close(req->clntFd, response, respLen);
return;
Expand Down

0 comments on commit b3cbdd8

Please sign in to comment.