diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-12-28 20:35:34 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-12-28 20:38:05 +0100 |
| commit | 5365018c35e0a496376bde9bf7e4bb4e9df6de2a (patch) | |
| tree | 4eed5a451af86a0b5693bc8a90fa1aa99678048c /src/base/QXmppHttpFileSource.cpp | |
| parent | 4f0a029070091d11ab3d2e17e30e39b4476105e5 (diff) | |
StanzaError: Add NoType and NoCondition for -1 values
Previsously static_cast<QXmppStanza::Error::Condition>(-1) was used when
no condition was set (or type). This adds real enum values with that
integer value to avoid undefined behaviour.
Fixes #495.
Diffstat (limited to 'src/base/QXmppHttpFileSource.cpp')
0 files changed, 0 insertions, 0 deletions
