Whitespace cleanups (yes, I do care about that)

This commit is contained in:
Nico Schümann 2014-12-10 00:41:12 +01:00
parent aaaae93afc
commit 467515943d

View file

@ -118,6 +118,7 @@ int createSocket() {
perror("bind");
return -1;
}
listen(create_socket, 5);
chmod(SOCKET, 0666);
@ -128,7 +129,7 @@ void handleClient(int socket) {
struct sockaddr_un address;
socklen_t addrlen;
int client = accept(socket, (struct sockaddr *)&address, &addrlen);
if(client >= 0) {
if (client >= 0) {
std::stringstream ss("");
ss << countRouters() << "\n";
write(client, ss.str().c_str(), ss.str().size());