aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-20 12:52:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-20 12:52:34 +0000
commit5a83976c996a33283c3aca29de86d77a238429b9 (patch)
tree0a00ee65223437c65b4b6f5bd9d56d9022d18aa6 /lib/urldata.h
parentb5276a9a69bd29502b5a8d6711f4c2d94f4c445e (diff)
Markus F.X.J. Oberhumer's patch that reduces memory usage quite a bit by
only allocating the scratch memory buffer once it is needed and not always in the handle.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index d68e00998..bd0c80024 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -598,7 +598,7 @@ struct UrlState {
struct curl_ssl_session *session; /* array of 'numsessions' size */
long sessionage; /* number of the most recent session */
- char scratch[BUFSIZE*2]; /* huge buffer when doing upload CRLF replacing */
+ char *scratch; /* huge buffer[BUFSIZE*2] when doing upload CRLF replacing */
bool errorbuf; /* Set to TRUE if the error buffer is already filled in.
This must be set to FALSE every time _easy_perform() is
called. */