v2: Change while loop to do/while; simplify space appending; correctly return E_OUTOFMEMORY if buffer allocation fails.
Signed-off-by: Owen Rudge orudge@codeweavers.com --- dlls/wsdapi/soap.c | 21 +++++++++++++++++++-- dlls/wsdapi/tests/discovery.c | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-)