mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
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 "";
|
return "";
|
||||||
}
|
}
|
||||||
response.append(buffer, sizeWritten);
|
response.append(buffer, sizeWritten);
|
||||||
} while (sizeWritten == 8192);
|
} while (sizeWritten > 0);
|
||||||
|
|
||||||
close(SERVERSOCKET);
|
close(SERVERSOCKET);
|
||||||
return response;
|
return response;
|
||||||
|
Loading…
Reference in New Issue
Block a user