Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
d911e22d
Commit
d911e22d
authored
15 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
remove some unused code
parent
efd1d9dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/smtp.c
+1
-32
1 addition, 32 deletions
lib/smtp.c
with
1 addition
and
32 deletions
lib/smtp.c
+
1
−
32
View file @
d911e22d
...
...
@@ -94,7 +94,6 @@
#include
"memdebug.h"
/* Local API functions */
static
CURLcode
smtp_parse_url_path
(
struct
connectdata
*
conn
);
static
CURLcode
smtp_regular_transfer
(
struct
connectdata
*
conn
,
bool
*
done
);
static
CURLcode
smtp_do
(
struct
connectdata
*
conn
,
bool
*
done
);
static
CURLcode
smtp_done
(
struct
connectdata
*
conn
,
...
...
@@ -108,9 +107,7 @@ static int smtp_getsock(struct connectdata *conn,
static
CURLcode
smtp_doing
(
struct
connectdata
*
conn
,
bool
*
dophase_done
);
static
CURLcode
smtp_setup_connection
(
struct
connectdata
*
conn
);
#if 0
static void smtp_respinit(struct connectdata *conn);
#endif
/*
* SMTP protocol handler.
...
...
@@ -322,9 +319,6 @@ static CURLcode smtp_mail(struct connectdata *conn)
{
CURLcode
result
=
CURLE_OK
;
struct
SessionHandle
*
data
=
conn
->
data
;
#if 0
struct FTP *smtp = data->state.proto.smtp;
#endif
/* send MAIL */
result
=
Curl_pp_sendf
(
&
conn
->
proto
.
smtpc
.
pp
,
"MAIL FROM:<%s>"
,
...
...
@@ -739,10 +733,6 @@ static CURLcode smtp_do(struct connectdata *conn, bool *done)
if
(
retcode
)
return
retcode
;
retcode
=
smtp_parse_url_path
(
conn
);
if
(
retcode
)
return
retcode
;
retcode
=
smtp_regular_transfer
(
conn
,
done
);
return
retcode
;
...
...
@@ -796,27 +786,6 @@ static CURLcode smtp_disconnect(struct connectdata *conn)
return
CURLE_OK
;
}
/***********************************************************************
*
* smtp_parse_url_path()
*
* Parse the URL path into separate path components.
*
*/
static
CURLcode
smtp_parse_url_path
(
struct
connectdata
*
conn
)
{
/* the smtp struct is already inited in smtp_connect() */
#if 0
struct smtp_conn *smtpc = &conn->proto.smtpc;
struct SessionHandle *data = conn->data;
#endif
(
void
)
conn
;
/* url decode... */
return
CURLE_OK
;
}
/* call this when the DO phase has completed */
static
CURLcode
smtp_dophase_done
(
struct
connectdata
*
conn
,
bool
connected
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment