• Phil Sutter's avatar
    lnstat: review lnstat_update() · db3ef44c
    Phil Sutter authored
    Instead of calling rewind() and fgets() before every call to
    scan_lines(), move them into scan_lines() itself.
    
    This should also fix compat mode, as before the second call to
    scan_lines() the first line was skipped unconditionally.
    Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
    db3ef44c
lnstat_util.c 6.96 KB