Files
strongswan-ext/src/libcharon/plugins/load_tester
Tobias Brunner 5947d48fb9 load-tester: Fix load-tester on platforms where plain char is signed
fgetc() returns an int and EOF is usually -1 so when this gets casted to
a char the result depends on whether `char` means `signed char` or
`unsigned char` (the C standard does not specify it).  If it is unsigned
then its value is 0xff so the comparison with EOF will fail as that is an
implicit signed int.
2016-06-17 10:22:25 +02:00
..