]> git.webhop.me Git - lcd4linux.git/commitdiff
indent run
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Tue, 15 Jul 2008 04:01:32 +0000 (04:01 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Tue, 15 Jul 2008 04:01:32 +0000 (04:01 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@879 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_fifo.c

index c38590f1b453bb1bfe3fcfd2f81f24869e2122bf..714066d17d68c3ac09fc5ae7713d41ec6f474fb3 100644 (file)
@@ -160,10 +160,10 @@ static void fiforead(RESULT * result)
     if (checkFifo() == 0) {
        memset(buf, 0, FIFO_BUFFER_SIZE);
 
-       while (bytes > 0 && errno != EINTR) {   
+       while (bytes > 0 && errno != EINTR) {
            bytes = read(fd.input, buf, FIFO_BUFFER_SIZE);
        }
-       
+
        if (bytes < 0 || errno > 0) {
            error("[FIFO] Error %i: %s", errno, strerror(errno));
        } else {
@@ -175,7 +175,7 @@ static void fiforead(RESULT * result)
                    msg[i] = ' ';
            }
        }
-    } 
+    }
     /* store result */
     SetResult(&result, R_STRING, msg);
 }
@@ -194,7 +194,7 @@ int plugin_init_fifo(void)
 
     /* ignore broken pipe */
     signal(SIGPIPE, SIG_IGN);
-    
+
     memset(msg, 0, FIFO_BUFFER_SIZE);
     AddFunction("fifo::read", 0, fiforead);
     return 0;