diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-05-21 12:46:02 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-05-21 12:46:02 +0200 |
commit | b65630871a5c14489270d1e6bfe19879f1010587 (patch) | |
tree | b1b4eb4f84f8ab2f935c13fd65459bc076dd9c42 /src/processing.rs | |
parent | 1e4eaeae1bfd794213f8eee09cb189e7c6fff4d6 (diff) | |
download | evtclib-b65630871a5c14489270d1e6bfe19879f1010587.tar.gz evtclib-b65630871a5c14489270d1e6bfe19879f1010587.tar.bz2 evtclib-b65630871a5c14489270d1e6bfe19879f1010587.zip |
ignore unknown statechanges in parse_events
The reason why we "unwrap" the error so late is because we want to
recover from this error, which means the file pointer has to be at the
right position. Unwrapping early would leave the pointer in the middle
of an event, which is not what we want.
If we want to bullet-proof this, it might be good to read the whole
event first into a buffer, and then read from that buffer instead.
Diffstat (limited to 'src/processing.rs')
0 files changed, 0 insertions, 0 deletions