Branch: refs/heads/log-cleanup
Home:
https://github.com/kronosnet/kronosnet
Commit: 910d0dd90e47593c3196a2fe26c6197263551411
https://github.com/kronosnet/kronosnet/commit/910d0dd90e47593c3196a2fe26c61…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
flush_logs: remove redundant condition
The read loop is always entered, resetting len and returning from the
function if it isn't greater than 0.
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 6557e9b24a9e8e5f1cd010dd5e48490aef283dfc
https://github.com/kronosnet/kronosnet/commit/6557e9b24a9e8e5f1cd010dd5e484…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
flush_logs: the reads will overwrite the entire msg structure
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 4e49f77cb5806c760e419ad16774be93ad7445b9
https://github.com/kronosnet/kronosnet/commit/4e49f77cb5806c760e419ad16774b…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
flush_logs: don't repeat the type of msg
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 6502b5bc4724c284c7e488d5fd681430c02373bf
https://github.com/kronosnet/kronosnet/commit/6502b5bc4724c284c7e488d5fd681…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
flush_logs: a for loop is more straightforward here
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: b21e015c1223c41ff889cb1a0ff44f4866974f2d
https://github.com/kronosnet/kronosnet/commit/b21e015c1223c41ff889cb1a0ff44…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
flush_logs: while loop instead of goto
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 5f4c51c108f9ed64fbaf876283fcde3663b4bb2f
https://github.com/kronosnet/kronosnet/commit/5f4c51c108f9ed64fbaf876283fcd…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/libknet.h
M libknet/tests/test-common.c
Log Message:
-----------
flush_logs: don't ever print past the message buffer
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 0afcd756a34d6ae5dba6fdd41b99522c6b0ab266
https://github.com/kronosnet/kronosnet/commit/0afcd756a34d6ae5dba6fdd41b995…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
_logthread: select() returns the number of set bits, as an int
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 6eb17dd130e27f11842abcb5c3b68eaec873d11c
https://github.com/kronosnet/kronosnet/commit/6eb17dd130e27f11842abcb5c3b68…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/tests/test-common.c
Log Message:
-----------
_logthread: while loop instead of goto
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 12b2cc5d6e7f7655a57800fba0c8babe851106c2
https://github.com/kronosnet/kronosnet/commit/12b2cc5d6e7f7655a57800fba0c8b…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/libknet.h
Log Message:
-----------
knet_log_msg: fix documentation: the closing newline is added by flush_logs
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 2f5006115f9d52e510b24a99dd9306f8d0f6ac96
https://github.com/kronosnet/kronosnet/commit/2f5006115f9d52e510b24a99dd930…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths:
M libknet/logging.c
Log Message:
-----------
log_msg: no point in putting NL after the final NUL
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Compare:
https://github.com/kronosnet/kronosnet/compare/910d0dd90e47^...2f5006115f9d