hyprland: fix json parser runtime err from socket read ending early
This commit is contained in:
parent
2211a79840
commit
0f6eff1f20
|
@ -192,7 +192,7 @@ std::string IPC::getSocket1Reply(const std::string& rq) {
|
|||
return "";
|
||||
}
|
||||
response.append(buffer, sizeWritten);
|
||||
} while (sizeWritten == 8192);
|
||||
} while (sizeWritten > 0);
|
||||
|
||||
close(SERVERSOCKET);
|
||||
return response;
|
||||
|
|
Loading…
Reference in New Issue