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
71440df4
Commit
71440df4
authored
23 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Nico Baggus added more error codes to the VMS stuff.
parent
80b004a5
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
src/main.c
+12
-1
12 additions, 1 deletion
src/main.c
with
12 additions
and
1 deletion
src/main.c
+
12
−
1
View file @
71440df4
...
...
@@ -191,6 +191,11 @@ globalvalue int CURL_BADPARAM;
globalvalue
int
CURL_BADORDER
;
globalvalue
int
CURL_BADPWD
;
globalvalue
int
CURL_MNYREDIR
;
globalvalue
int
CURL_UNKTELNET
;
globalvalue
int
CURL_UNKMSG
;
globalvalue
int
CURL_BADSSLCERT
;
globalvalue
int
CURL_SRVNOERR
;
globalvalue
int
CURL_MAXMSG
;
long
vms_cond
[]
=
{
VMS_STS
(
1
,
FAC_SYSTEM
,
MSG_NORMAL
,
SEV_SUCCESS
),
CURL_UNSUPPROTO
,
/* these are from curlmsg.msg file..... */
...
...
@@ -238,7 +243,12 @@ long vms_cond[] = {
CURL_BADPARAM
,
CURL_BADORDER
,
CURL_BADPWD
,
CURL_MNYREDIR
CURL_MNYREDIR
,
CURL_UNKTELNET
,
CURL_UNKMSG
,
CURL_BADSSLCERT
,
CURL_SRVNOERR
,
CURL_MAXMSG
};
#endif
...
...
@@ -2489,6 +2499,7 @@ int main(int argc, char *argv[])
free_config_fields
(
&
config
);
#ifdef VMS
if
(
res
>
52
)
res
=
53
;
/* MAXMSG, porting helper */
return
(
vms_cond
[
res
]
|
vms_show
);
#else
return
res
;
...
...
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