diff options
author | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-07 14:28:50 +0000 |
---|---|---|
committer | swhite <swhite@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2004-04-07 14:28:50 +0000 |
commit | 46eb8514f4613b2daad5d2998287bcaaa04af7b6 (patch) | |
tree | b5ef3e6c983ce06f20124c0f06684dc82ed2bb65 /src/SStringHTML.h | |
parent | 5b350aa4013f4ece2f0b92d2da0fde1e8ca164c5 (diff) |
Fixed the thorn HTTPDExtra broken by commit of HTTPD changes.
Made HTTPDExtra to include headers from HTTPD using the proper Cactus
include header mechanism (although it seems to still include files
directly from other thorns).
Did the same process as before with HTTPD, replacing strcpy and
sprintf writes of data of unkown length into automatic buffers
with calls to a String module.
Altered the namespace mechanism for the String module, using
header files rather than defining a preprocessor variable.
Caveat: Although I turned it on and looked at the pages it produces,
I have not tested this as extensively as HTTPD thorn.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@189 1faa4e14-9dd3-4be0-9f0e-ffe519881164
Diffstat (limited to 'src/SStringHTML.h')
-rw-r--r-- | src/SStringHTML.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/SStringHTML.h b/src/SStringHTML.h index 6749ac8..6fb220c 100644 --- a/src/SStringHTML.h +++ b/src/SStringHTML.h @@ -33,13 +33,5 @@ String * StringEncodeURL( String * str ); String * StringSetToEncodedHTMLCString( String * str, const char *c ); String * StringEncodeHTML( String * str ); -#ifdef STRING_NAMESPACE - -#define EncodeHTML( s ) \ - StringEncodeHTML( s ) -#define SetToEncodedHTMLCString( s, c ) \ - StringSetToEncodedHTMLCString( s, c ) - -#endif #endif |