wininet: Constify some variables.
This commit is contained in:
parent
a46ad829e4
commit
46fc9c2e11
|
@ -95,7 +95,7 @@ typedef enum {
|
|||
FTP_CMD_QUIT,
|
||||
} FTP_COMMAND;
|
||||
|
||||
static const CHAR *szFtpCommands[] = {
|
||||
static const CHAR *const szFtpCommands[] = {
|
||||
"ACCT",
|
||||
"CWD",
|
||||
"DELE",
|
||||
|
|
|
@ -851,7 +851,7 @@ end:
|
|||
static UINT HTTP_EncodeBase64( LPCSTR bin, unsigned int len, LPWSTR base64 )
|
||||
{
|
||||
UINT n = 0, x;
|
||||
static LPCSTR HTTP_Base64Enc =
|
||||
static const CHAR HTTP_Base64Enc[] =
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||
|
||||
while( len > 0 )
|
||||
|
|
Loading…
Reference in New Issue