diff --git a/source/vibe/inet/webform.d b/source/vibe/inet/webform.d index 268f505eaa..7a3afde38a 100644 --- a/source/vibe/inet/webform.d +++ b/source/vibe/inet/webform.d @@ -216,7 +216,7 @@ private bool parseMultipartFormPart(InputStream stream, ref FormFields form, ref import std.conv : to; file.write(stream, (*plen).to!long); } - else stream.readUntil(file, cast(ubyte[])boundary); + stream.readUntil(file, cast(ubyte[])boundary); logDebug("file: %s", fp.tempPath.toString()); file.close();