mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fixed utf8 bug, which sometimes lead to z85 handling of pure binary data
This commit is contained in:
@@ -331,6 +331,7 @@ void ps_determine(Pcpstream *stream) {
|
||||
|
||||
/* check if it's binary or not */
|
||||
if(_buffer_is_binary(buf, got) == 0) {
|
||||
|
||||
/* not binary, it's armored */
|
||||
stream->armor = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user