diff options
author | Quentin Rameau <quinq@fifth.space> | 2020-01-15 17:14:04 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-01-15 17:29:04 +0100 |
commit | 6797c8ad4d13b9b4297bf7ff8bd7017b58ed1d85 (patch) | |
tree | 0f2f8387405121e126133e7de8e11f601fc7df15 | |
parent | a423f0e46c0692f872dff297dff89fbe531f74fd (diff) | |
download | socklog-void-6797c8ad4d13b9b4297bf7ff8bd7017b58ed1d85.tar.gz socklog-void-6797c8ad4d13b9b4297bf7ff8bd7017b58ed1d85.tar.xz socklog-void-6797c8ad4d13b9b4297bf7ff8bd7017b58ed1d85.zip |
Revert "Update nanoklogd.c"
This reverts commit e6b8b91dcd38ebcfbb0d41753d814edf78b06989. stop is never used before being set in the interior loop.
-rw-r--r-- | nanoklogd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nanoklogd.c b/nanoklogd.c index 3fe6216..f4388fe 100644 --- a/nanoklogd.c +++ b/nanoklogd.c @@ -23,8 +23,7 @@ static const struct { int main(int argc, char *argv[]) { char buf[16384]; - int f, l, start; - int stop = 0; + int f, l, start, stop; f = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0); if (f < 0) |