diff options
author | PolarGo <33907525+PolarGo@users.noreply.github.com> | 2017-11-23 23:21:53 -0700 |
---|---|---|
committer | Enno Boland <g@s01.de> | 2017-11-24 07:49:09 +0100 |
commit | e6b8b91dcd38ebcfbb0d41753d814edf78b06989 (patch) | |
tree | 9333adef2ebf6f2cb66c20b5f40e958919b78f89 | |
parent | c50c5463355ac3f3092f985f377a85b4d19fe70c (diff) | |
download | socklog-void-e6b8b91dcd38ebcfbb0d41753d814edf78b06989.tar.gz socklog-void-e6b8b91dcd38ebcfbb0d41753d814edf78b06989.tar.xz socklog-void-e6b8b91dcd38ebcfbb0d41753d814edf78b06989.zip |
Update nanoklogd.c
stop in undefined in line 41 without this change.
-rw-r--r-- | nanoklogd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nanoklogd.c b/nanoklogd.c index f4388fe..3fe6216 100644 --- a/nanoklogd.c +++ b/nanoklogd.c @@ -23,7 +23,8 @@ static const struct { int main(int argc, char *argv[]) { char buf[16384]; - int f, l, start, stop; + int f, l, start; + int stop = 0; f = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0); if (f < 0) |