diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-10-22 05:46:29 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-10-22 05:46:29 +0000 |
commit | 7fc4e8af0a2778f6c017a9a95d64a0c211ea1f55 (patch) | |
tree | 4d17b3a942fe657dbe207e063543e898097c8eea /lib/sendf.c | |
parent | 4198bb88b64383509a7267411282e20cd867d3e0 (diff) | |
download | curl-7fc4e8af0a2778f6c017a9a95d64a0c211ea1f55.tar.gz |
Changed some arrays of char* to arrays of char[] to reduce data size and
run-time relocations.
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 4d17ec133..7a8c3cad2 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -661,7 +661,7 @@ int Curl_read(struct connectdata *conn, /* connection data */ static int showit(struct SessionHandle *data, curl_infotype type, char *ptr, size_t size) { - static const char * const s_infotype[CURLINFO_END] = { + static const char s_infotype[CURLINFO_END][3] = { "* ", "< ", "> ", "{ ", "} ", "{ ", "} " }; #ifdef CURL_DOES_CONVERSIONS |