diff options
author | Christophe de Dinechin <dinechin@redhat.com> | 2017-11-10 16:15:42 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2017-11-10 15:37:10 +0000 |
commit | e33d72e585d807c03bf4970d5bc84af55b568e75 (patch) | |
tree | 97fb5884b2cc0a297c274de911e7703ef12d018e | |
parent | a61a00f12e1f8e1b982441bb4571376e3b2262e1 (diff) |
style: Remove useless whitespace
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | src/spice-streaming-agent.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp index ed7ddb9..7f93687 100644 --- a/src/spice-streaming-agent.cpp +++ b/src/spice-streaming-agent.cpp @@ -148,7 +148,7 @@ static int read_command(int blocking) { int fd, n=1; int timeout = blocking?-1:0; - while ( !quit ) { + while (!quit) { if (!have_something_to_read(&fd, timeout)) { if (!blocking) { return 0; @@ -185,7 +185,6 @@ write_all(int fd, const void *buf, const size_t len) return written; } - static int spice_stream_send_format(unsigned w, unsigned h, unsigned c) { @@ -441,7 +440,7 @@ int main(int argc, char* argv[]) if (isatty(fileno(stderr)) && isatty(fileno(stdin))) { stdin_ok = true; } - + openlog("spice-streaming-agent", stdin_ok? (LOG_PERROR|LOG_PID) : LOG_PID, LOG_USER); setlogmask(logmask); @@ -526,4 +525,3 @@ int main(int argc, char* argv[]) closelog(); return ret; } - |