mirror of
https://github.com/curl/curl.git
synced 2026-07-30 00:58:06 +03:00
Changed some arrays of char* to arrays of char[] to reduce data size and
run-time relocations.
This commit is contained in:
parent
4198bb88b6
commit
7fc4e8af0a
4 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue