aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-28 23:55:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-28 23:55:18 +0000
commit71440df4c7a8b2ef6e220a2792392a5a03a77f0f (patch)
tree71fc570a58a4c49d3569d5ba73cb93aa21ea4930
parent80b004a57d6fe8ce2d2fceb29b6eb4a7101da958 (diff)
Nico Baggus added more error codes to the VMS stuff.
-rw-r--r--src/main.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d43f49bd1..5d447d5b8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;