Bug#139010: sntop: sntop missing newline in version output

2025-01-19 Thread Petter Reinholdtsen
[Chris Hofstaedtler] > Are you going to upload this then, too? Or do we need another 22 years > for the bug to go away one way or another? Nah, lets not wait that long. :) -- Happy hacking Petter Reinholdtsen

Bug#139010: sntop: sntop missing newline in version output

2024-08-27 Thread Petter Reinholdtsen
Control: tags -1 + patch [Mark Eichin] > Haven't looked at the code in the last 22 years, but yeah, that looks > right - making sure the output is a complete line *before* the call to > initscr() does unspeakable things to the terminal does look correct. Very good. Flagging the bug as patch, the

Bug#139010: sntop: sntop missing newline in version output

2024-08-27 Thread Mark Eichin
Haven't looked at the code in the last 22 years, but yeah, that looks right - making sure the output is a complete line *before* the call to initscr() does unspeakable things to the terminal does look correct.

Bug#139010: sntop: sntop missing newline in version output

2024-08-26 Thread Petter Reinholdtsen
So, the proposal is to implement the following patch? diff --git a/sntop.c b/sntop.c index e073d96..f2b367b 100644 --- a/sntop.c +++ b/sntop.c @@ -177,7 +177,7 @@ int main(int argc, char *argv[]) load_config(cfile, &head); if (!(flags & DAEMON)) { - printf(SNTOP_VER