[PATCH spice-streaming-agent v3 1/5] style: Remove useless whitespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christophe de Dinechin <dinechin@xxxxxxxxxx>

Signed-off-by: Christophe de Dinechin <dinechin@xxxxxxxxxx>
---
 src/spice-streaming-agent.cpp | 6 ++----
 1 file 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;
 }
-
-- 
2.13.5 (Apple Git-94)

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]