Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
11f8826c
Commit
11f8826c
authored
Dec 03, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Make several constants static.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2ad7ecc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
smtptransport.c
dlls/inetcomm/smtptransport.c
+10
-10
No files found.
dlls/inetcomm/smtptransport.c
View file @
11f8826c
...
...
@@ -281,7 +281,7 @@ static void SMTPTransport_CallbackSendHello(IInternetTransport *iface, char *pBu
HRESULT
hr
;
const
char
*
pszHello
;
char
*
pszCommand
;
const
char
szHostName
[]
=
"localhost"
;
/* FIXME */
static
const
char
szHostName
[]
=
"localhost"
;
/* FIXME */
TRACE
(
"
\n
"
);
...
...
@@ -483,7 +483,7 @@ static void SMTPTransport_CallbackMessageSendTo(IInternetTransport *iface, char
if
((
This
->
pending_message
.
rAddressList
.
prgAddress
[
This
->
ulCurrentAddressIndex
].
addrtype
&
ADDR_TOFROM_MASK
)
==
ADDR_TO
)
{
const
char
szCommandFormat
[]
=
"RCPT TO: <%s>
\n
"
;
static
const
char
szCommandFormat
[]
=
"RCPT TO: <%s>
\n
"
;
char
*
szCommand
;
int
len
=
sizeof
(
szCommandFormat
)
-
2
/* "%s" */
+
strlen
(
This
->
pending_message
.
rAddressList
.
prgAddress
[
This
->
ulCurrentAddressIndex
].
szEmail
);
...
...
@@ -659,10 +659,10 @@ static HRESULT WINAPI SMTPTransport_InitNew(ISMTPTransport2 *iface,
static
HRESULT
WINAPI
SMTPTransport_SendMessage
(
ISMTPTransport2
*
iface
,
LPSMTPMESSAGE
pMessage
)
{
static
const
char
szCommandFormat
[]
=
"MAIL FROM: <%s>
\n
"
;
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
ULONG
i
,
size
;
LPSTR
pszFromAddress
=
NULL
;
const
char
szCommandFormat
[]
=
"MAIL FROM: <%s>
\n
"
;
char
*
szCommand
;
int
len
;
HRESULT
hr
;
...
...
@@ -723,8 +723,8 @@ static HRESULT WINAPI SMTPTransport_SendMessage(ISMTPTransport2 *iface,
static
HRESULT
WINAPI
SMTPTransport_CommandMAIL
(
ISMTPTransport2
*
iface
,
LPSTR
pszEmailFrom
)
{
static
const
char
szCommandFormat
[]
=
"MAIL FROM: <%s>
\n
"
;
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
const
char
szCommandFormat
[]
=
"MAIL FROM: <%s>
\n
"
;
char
*
szCommand
;
int
len
;
HRESULT
hr
;
...
...
@@ -750,8 +750,8 @@ static HRESULT WINAPI SMTPTransport_CommandMAIL(ISMTPTransport2 *iface, LPSTR ps
static
HRESULT
WINAPI
SMTPTransport_CommandRCPT
(
ISMTPTransport2
*
iface
,
LPSTR
pszEmailTo
)
{
static
const
char
szCommandFormat
[]
=
"RCPT TO: <%s>
\n
"
;
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
const
char
szCommandFormat
[]
=
"RCPT TO: <%s>
\n
"
;
char
*
szCommand
;
int
len
;
HRESULT
hr
;
...
...
@@ -777,9 +777,9 @@ static HRESULT WINAPI SMTPTransport_CommandRCPT(ISMTPTransport2 *iface, LPSTR ps
static
HRESULT
WINAPI
SMTPTransport_CommandEHLO
(
ISMTPTransport2
*
iface
)
{
static
const
char
szCommandFormat
[]
=
"EHLO %s
\n
"
;
static
const
char
szHostname
[]
=
"localhost"
;
/* FIXME */
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
const
char
szCommandFormat
[]
=
"EHLO %s
\n
"
;
const
char
szHostname
[]
=
"localhost"
;
/* FIXME */
char
*
szCommand
;
int
len
=
sizeof
(
szCommandFormat
)
-
2
/* "%s" */
+
sizeof
(
szHostname
);
HRESULT
hr
;
...
...
@@ -801,9 +801,9 @@ static HRESULT WINAPI SMTPTransport_CommandEHLO(ISMTPTransport2 *iface)
static
HRESULT
WINAPI
SMTPTransport_CommandHELO
(
ISMTPTransport2
*
iface
)
{
static
const
char
szCommandFormat
[]
=
"HELO %s
\n
"
;
static
const
char
szHostname
[]
=
"localhost"
;
/* FIXME */
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
const
char
szCommandFormat
[]
=
"HELO %s
\n
"
;
const
char
szHostname
[]
=
"localhost"
;
/* FIXME */
char
*
szCommand
;
int
len
=
sizeof
(
szCommandFormat
)
-
2
/* "%s" */
+
sizeof
(
szHostname
);
HRESULT
hr
;
...
...
@@ -826,8 +826,8 @@ static HRESULT WINAPI SMTPTransport_CommandHELO(ISMTPTransport2 *iface)
static
HRESULT
WINAPI
SMTPTransport_CommandAUTH
(
ISMTPTransport2
*
iface
,
LPSTR
pszAuthType
)
{
static
const
char
szCommandFormat
[]
=
"AUTH %s
\n
"
;
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
const
char
szCommandFormat
[]
=
"AUTH %s
\n
"
;
char
*
szCommand
;
int
len
;
HRESULT
hr
;
...
...
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