Fixup commit 835c9163374f42003aa2f7795ade3f4ff62c8877
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 15 Oct 2018 16:05:51 +0000 (18:05 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:08 +0000 (10:58 +0100)
commit2f8c77c54f1b3a0c9283c63031daee036688d130
treecc2e779e4e95b98d0be00ababd0cd25c36a5412c
parentc009dae1ce670113ba34e9993fe3b8322063772d
Fixup commit 835c9163374f42003aa2f7795ade3f4ff62c8877

The previous code considered the also HTTP 207 code without the
application/xml header to have this message.
httpCode 0 does not make much sense anyway.

This change the behavior to consider any 2xx without the xml header
to show this error message
src/libsync/discoveryphase.cpp