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
d9c4f5fc
Commit
d9c4f5fc
authored
Oct 31, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Add an implementation of ISMTPTransport2::CommandHELO.
parent
c445e4f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
smtptransport.c
dlls/inetcomm/smtptransport.c
+20
-2
No files found.
dlls/inetcomm/smtptransport.c
View file @
d9c4f5fc
...
@@ -771,8 +771,26 @@ static HRESULT WINAPI SMTPTransport_CommandEHLO(ISMTPTransport2 *iface)
...
@@ -771,8 +771,26 @@ static HRESULT WINAPI SMTPTransport_CommandEHLO(ISMTPTransport2 *iface)
static
HRESULT
WINAPI
SMTPTransport_CommandHELO
(
ISMTPTransport2
*
iface
)
static
HRESULT
WINAPI
SMTPTransport_CommandHELO
(
ISMTPTransport2
*
iface
)
{
{
FIXME
(
"()
\n
"
);
SMTPTransport
*
This
=
(
SMTPTransport
*
)
iface
;
return
E_NOTIMPL
;
const
char
szCommandFormat
[]
=
"HELO %s
\n
"
;
const
char
szHostname
[]
=
"localhost"
;
/* FIXME */
char
*
szCommand
;
int
len
=
sizeof
(
szCommandFormat
)
-
2
/* "%s" */
+
sizeof
(
szHostname
);
HRESULT
hr
;
TRACE
(
"()
\n
"
);
szCommand
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
if
(
!
szCommand
)
return
E_OUTOFMEMORY
;
sprintf
(
szCommand
,
szCommandFormat
,
szHostname
);
hr
=
InternetTransport_DoCommand
(
&
This
->
InetTransport
,
szCommand
,
SMTPTransport_CallbackReadResponseDoNothing
);
HeapFree
(
GetProcessHeap
(),
0
,
szCommand
);
return
hr
;
}
}
static
HRESULT
WINAPI
SMTPTransport_CommandAUTH
(
ISMTPTransport2
*
iface
,
static
HRESULT
WINAPI
SMTPTransport_CommandAUTH
(
ISMTPTransport2
*
iface
,
...
...
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