Commit e2b479ac authored by Andrea Manzi's avatar Andrea Manzi

DMC-1062: clear the soap fault between invocations

parent 84639fb5
......@@ -51,7 +51,7 @@ set(OUTPUT_NAME "gfal_srm_ifce")
set(VERSION_MAJOR 1)
set(VERSION_MINOR 24)
set(VERSION_PATCH 3)
set(VERSION_PATCH 4)
set(VERSION_STRING ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
#install doc license
......
srm-ifce (1.24.4-1) unstable; urgency=low
* New upstream release
-- Andrea Manzi <amanzi@cern.ch> Tue, 17 Jul 2018 09:08:00
srm-ifce (1.24.3-1) unstable; urgency=low
* New upstream release
......
......@@ -2,7 +2,7 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: srm-ifce
Version: 1.24.3
Version: 1.24.4
Release: 1%{?dist}
Summary: SRM client side library
Group: Applications/Internet
......@@ -78,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
%{_pkgdocdir}/RELEASE-NOTES
%changelog
* Tue Jul 17 2018 Andrea Manzi <amanzi at cern.ch> - 1.24.4-1
- New upstream release
* Mon Feb 20 2017 Alejandro Alvarez Ayllon <aalvarez at cern.ch> - 1.24.2-1
- New upstream release
......
......@@ -203,8 +203,10 @@ static int srm_post_header(struct soap* soap, const char* key, const char* value
void srm_context_soap_init(struct srm_context* c)
{
assert(c);
if (c->soap)
if (c->soap) {
c->soap->fault = NULL;
return;
}
#ifdef GFAL_SECURE
int flags;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment