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;
s='deletions'>-4/+7 2012-03-08Import upstream version 0.11.0~svn1180Jonathan McCrohan19-2871/+3952 2011-12-27Import upstream version 0.11.0~svn1165Jonathan McCrohan6-166/+495 2011-12-25Import upstream version 0.11.0~svn1164Jonathan McCrohan11-162/+315 2011-12-25Update libmysqlclient-dev virtual package in build-depends.Jonathan McCrohan1-1/+1 2011-08-31Import upstream version 0.11.0~svn1159Jonathan McCrohan4-5/+5 2011-08-30update debian/changelogReinhard Tartler1-1/+4 2011-08-28* New upstream snapshotJonathan McCrohan2-4/+11 2011-08-26Import upstream version 0.11.0~svn1158Reinhard Tartler34-1743/+4490 2011-08-20normalize with wrap-and-sort(1)Reinhard Tartler2-17/+20 2011-08-20Make lcd4linux linux specificReinhard Tartler1-2/+1 2011-04-29add sqlite3-dev to build dependssiretart@tauware.de2-2/+4 2011-04-29mention new co-maintainersiretart@tauware.de1-0/+1 2011-04-29add libdbus-1-dev to build dependssiretart@tauware.de2-1/+3 2011-04-29normalize fields with wrap-and-sort(1)siretart@tauware.de2-18/+20 2011-04-29fix order of calling dh_autoreconf_cleansiretart@tauware.de1-1/+1 2011-04-29Add Uploader details to Debian PackageJonathan McCrohan1-0/+1 2011-04-27Bug fix: "script lcd4linux/init.d/lcd4linux missing dependency onReinhard Tartler2-1/+5 2011-04-27No longer build the mpd module. Closes: #578226Reinhard Tartler1-0/+1 2011-04-27No longer compile against Python. Python 2.6 now links against libssl,Reinhard Tartler2-2/+3