Commit f2c33c4
committed
clients/upsstats.c: display_template(): open HTML template in binary mode, so ftell()/fseek() work predictably [networkupstools#3219]
Fix rewinding FOREACHUPS command to the correct byte location on WIN32 (or other platforms with CR vs CRLF issues).
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>1 parent 88c5f8b commit f2c33c4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | | - | |
| 1092 | + | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| |||
0 commit comments