Changed some arrays of char* to arrays of char[] to reduce data size and

run-time relocations.
This commit is contained in:
Dan Fandrich 2008-10-22 05:46:29 +00:00
parent 4198bb88b6
commit 7fc4e8af0a
4 changed files with 6 additions and 8 deletions

View file

@ -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