Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c4ba190b
Commit
c4ba190b
authored
Dec 16, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Constify some character strings.
parent
5605db6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
pop3transport.c
dlls/inetcomm/pop3transport.c
+13
-13
No files found.
dlls/inetcomm/pop3transport.c
View file @
c4ba190b
...
...
@@ -633,7 +633,7 @@ static void POP3Transport_CallbackRecvPASSResp(IInternetTransport *iface, char *
static
void
POP3Transport_CallbackProcessUSERResp
(
IInternetTransport
*
iface
,
char
*
pBuffer
,
int
cbBuffer
)
{
static
char
pass
[]
=
"PASS "
;
static
c
onst
c
har
pass
[]
=
"PASS "
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
POP3RESPONSE
response
;
char
*
command
;
...
...
@@ -674,7 +674,7 @@ static void POP3Transport_CallbackRecvUSERResp(IInternetTransport *iface, char *
static
void
POP3Transport_CallbackSendUSERCmd
(
IInternetTransport
*
iface
,
char
*
pBuffer
,
int
cbBuffer
)
{
static
char
user
[]
=
"USER "
;
static
c
onst
c
har
user
[]
=
"USER "
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
int
len
;
...
...
@@ -870,7 +870,7 @@ static HRESULT WINAPI POP3Transport_CommandAUTH(IPOP3Transport *iface, LPSTR psz
static
HRESULT
WINAPI
POP3Transport_CommandUSER
(
IPOP3Transport
*
iface
,
LPSTR
username
)
{
static
char
user
[]
=
"USER "
;
static
c
onst
c
har
user
[]
=
"USER "
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
int
len
;
...
...
@@ -893,7 +893,7 @@ static HRESULT WINAPI POP3Transport_CommandUSER(IPOP3Transport *iface, LPSTR use
static
HRESULT
WINAPI
POP3Transport_CommandPASS
(
IPOP3Transport
*
iface
,
LPSTR
password
)
{
static
char
pass
[]
=
"PASS "
;
static
c
onst
c
har
pass
[]
=
"PASS "
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
int
len
;
...
...
@@ -917,7 +917,7 @@ static HRESULT WINAPI POP3Transport_CommandPASS(IPOP3Transport *iface, LPSTR pas
static
HRESULT
WINAPI
POP3Transport_CommandLIST
(
IPOP3Transport
*
iface
,
POP3CMDTYPE
cmdtype
,
DWORD
dwPopId
)
{
static
char
list
[]
=
"LIST %u
\r\n
"
;
static
c
onst
c
har
list
[]
=
"LIST %u
\r\n
"
;
static
char
list_all
[]
=
"LIST
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
...
...
@@ -944,7 +944,7 @@ static HRESULT WINAPI POP3Transport_CommandLIST(
static
HRESULT
WINAPI
POP3Transport_CommandTOP
(
IPOP3Transport
*
iface
,
POP3CMDTYPE
cmdtype
,
DWORD
dwPopId
,
DWORD
cPreviewLines
)
{
static
char
top
[]
=
"TOP %u %u
\r\n
"
;
static
c
onst
c
har
top
[]
=
"TOP %u %u
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
int
len
;
...
...
@@ -966,7 +966,7 @@ static HRESULT WINAPI POP3Transport_CommandTOP(
static
HRESULT
WINAPI
POP3Transport_CommandQUIT
(
IPOP3Transport
*
iface
)
{
static
char
command
[]
=
"QUIT
\r\n
"
;
static
c
onst
c
har
command
[]
=
"QUIT
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
TRACE
(
"()
\n
"
);
...
...
@@ -979,7 +979,7 @@ static HRESULT WINAPI POP3Transport_CommandQUIT(IPOP3Transport *iface)
static
HRESULT
WINAPI
POP3Transport_CommandSTAT
(
IPOP3Transport
*
iface
)
{
static
char
stat
[]
=
"STAT
\r\n
"
;
static
c
onst
c
har
stat
[]
=
"STAT
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
TRACE
(
"
\n
"
);
...
...
@@ -991,7 +991,7 @@ static HRESULT WINAPI POP3Transport_CommandSTAT(IPOP3Transport *iface)
static
HRESULT
WINAPI
POP3Transport_CommandNOOP
(
IPOP3Transport
*
iface
)
{
static
char
noop
[]
=
"NOOP
\r\n
"
;
static
c
onst
c
har
noop
[]
=
"NOOP
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
TRACE
(
"
\n
"
);
...
...
@@ -1003,7 +1003,7 @@ static HRESULT WINAPI POP3Transport_CommandNOOP(IPOP3Transport *iface)
static
HRESULT
WINAPI
POP3Transport_CommandRSET
(
IPOP3Transport
*
iface
)
{
static
char
rset
[]
=
"RSET
\r\n
"
;
static
c
onst
c
har
rset
[]
=
"RSET
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
TRACE
(
"
\n
"
);
...
...
@@ -1016,7 +1016,7 @@ static HRESULT WINAPI POP3Transport_CommandRSET(IPOP3Transport *iface)
static
HRESULT
WINAPI
POP3Transport_CommandUIDL
(
IPOP3Transport
*
iface
,
POP3CMDTYPE
cmdtype
,
DWORD
dwPopId
)
{
static
char
uidl
[]
=
"UIDL %u
\r\n
"
;
static
c
onst
c
har
uidl
[]
=
"UIDL %u
\r\n
"
;
static
char
uidl_all
[]
=
"UIDL
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
...
...
@@ -1043,7 +1043,7 @@ static HRESULT WINAPI POP3Transport_CommandUIDL(
static
HRESULT
WINAPI
POP3Transport_CommandDELE
(
IPOP3Transport
*
iface
,
POP3CMDTYPE
cmdtype
,
DWORD
dwPopId
)
{
static
char
dele
[]
=
"DELE %u
\r\n
"
;
static
c
onst
c
har
dele
[]
=
"DELE %u
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
int
len
;
...
...
@@ -1065,7 +1065,7 @@ static HRESULT WINAPI POP3Transport_CommandDELE(
static
HRESULT
WINAPI
POP3Transport_CommandRETR
(
IPOP3Transport
*
iface
,
POP3CMDTYPE
cmdtype
,
DWORD
dwPopId
)
{
static
char
retr
[]
=
"RETR %u
\r\n
"
;
static
c
onst
c
har
retr
[]
=
"RETR %u
\r\n
"
;
POP3Transport
*
This
=
(
POP3Transport
*
)
iface
;
char
*
command
;
int
len
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment