aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-07-15 04:01:32 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-07-15 04:01:32 +0000
commit56d9c8e3aa8fc5282da374038e48bc6825158aa5 (patch)
treed3ce4771117c551b0490ff29e4d7355e40a9721b
parent3bcca2be2f75d239871ad7f577be8ef2ad5af175 (diff)
downloadlcd4linux-56d9c8e3aa8fc5282da374038e48bc6825158aa5.tar.gz
indent run
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@879 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--plugin_fifo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin_fifo.c b/plugin_fifo.c
index c38590f..714066d 100644
--- a/plugin_fifo.c
+++ b/plugin_fifo.c
@@ -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;