mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Dependencies: Temporarily fix an RFC-breaking addition in gSoap (upstream developers have been notified)
+ local changes and diff (tc_changes.diff) included for future reference --HG-- branch : trunk
This commit is contained in:
@@ -15038,10 +15038,12 @@ soap_puthttphdr(struct soap *soap, int status, size_t count)
|
||||
}
|
||||
s = soap->tmpbuf;
|
||||
}
|
||||
/*
|
||||
else if (status == SOAP_OK && soap->action && strlen(soap->action) < sizeof(soap->tmpbuf) - 80)
|
||||
{ sprintf(soap->tmpbuf, "%s; action=\"%s\"", s, soap->action);
|
||||
s = soap->tmpbuf;
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
if (s && (err = soap->fposthdr(soap, "Content-Type", s)))
|
||||
return err;
|
||||
|
||||
16
dep/gsoap/tc_changes.diff
Normal file
16
dep/gsoap/tc_changes.diff
Normal file
@@ -0,0 +1,16 @@
|
||||
diff -r 830b8f9ed332 dep/gsoap/stdsoap2.cpp
|
||||
--- a/dep/gsoap/stdsoap2.cpp Tue Dec 21 10:07:43 2010 -0500
|
||||
+++ b/dep/gsoap/stdsoap2.cpp Tue Dec 21 10:07:55 2010 -0500
|
||||
@@ -15038,10 +15038,12 @@
|
||||
}
|
||||
s = soap->tmpbuf;
|
||||
}
|
||||
+/*
|
||||
else if (status == SOAP_OK && soap->action && strlen(soap->action) < sizeof(soap->tmpbuf) - 80)
|
||||
{ sprintf(soap->tmpbuf, "%s; action=\"%s\"", s, soap->action);
|
||||
s = soap->tmpbuf;
|
||||
}
|
||||
+*/
|
||||
#endif
|
||||
if (s && (err = soap->fposthdr(soap, "Content-Type", s)))
|
||||
return err;
|
||||
Reference in New Issue
Block a user