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
2c594fb7
Commit
2c594fb7
authored
Nov 11, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcomm: Get rid of the server info copy.
parent
55b086b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
pop3transport.c
dlls/inetcomm/pop3transport.c
+4
-7
No files found.
dlls/inetcomm/pop3transport.c
View file @
2c594fb7
...
...
@@ -47,7 +47,6 @@ typedef struct
{
InternetTransport
InetTransport
;
ULONG
refs
;
INETSERVER
server
;
POP3COMMAND
command
;
POP3CMDTYPE
type
;
char
*
response
;
...
...
@@ -671,11 +670,11 @@ static void POP3Transport_CallbackProcessUSERResp(IInternetTransport *iface, cha
IPOP3Callback_OnResponse
((
IPOP3Callback
*
)
This
->
InetTransport
.
pCallback
,
&
response
);
len
=
sizeof
(
pass
)
+
strlen
(
This
->
server
.
szPassword
)
+
2
;
/* "\r\n" */
len
=
sizeof
(
pass
)
+
strlen
(
This
->
InetTransport
.
ServerInfo
.
szPassword
)
+
2
;
/* "\r\n" */
command
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
strcpy
(
command
,
pass
);
strcat
(
command
,
This
->
server
.
szPassword
);
strcat
(
command
,
This
->
InetTransport
.
ServerInfo
.
szPassword
);
strcat
(
command
,
"
\r\n
"
);
init_parser
(
This
,
POP3_PASS
,
POP3_NONE
);
...
...
@@ -701,11 +700,11 @@ static void POP3Transport_CallbackSendUSERCmd(IInternetTransport *iface, char *p
TRACE
(
"
\n
"
);
len
=
sizeof
(
user
)
+
strlen
(
This
->
server
.
szUserName
)
+
2
;
/* "\r\n" */
len
=
sizeof
(
user
)
+
strlen
(
This
->
InetTransport
.
ServerInfo
.
szUserName
)
+
2
;
/* "\r\n" */
command
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
strcpy
(
command
,
user
);
strcat
(
command
,
This
->
server
.
szUserName
);
strcat
(
command
,
This
->
InetTransport
.
ServerInfo
.
szUserName
);
strcat
(
command
,
"
\r\n
"
);
InternetTransport_DoCommand
(
&
This
->
InetTransport
,
command
,
POP3Transport_CallbackRecvUSERResp
);
...
...
@@ -820,8 +819,6 @@ static HRESULT WINAPI POP3Transport_Connect(IPOP3Transport *iface,
return
hr
;
init_parser
(
This
,
POP3_USER
,
POP3_NONE
);
This
->
server
=
*
pInetServer
;
return
InternetTransport_ReadLine
(
&
This
->
InetTransport
,
POP3Transport_CallbackSendUSERCmd
);
}
...
...
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