Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced integers for cURLcode with actual cURLcode values.
[xestiaab/.git]
/
source
/
actmgr
/
frmActivityMgr.cpp
diff --git
a/source/actmgr/frmActivityMgr.cpp
b/source/actmgr/frmActivityMgr.cpp
index
27960b7
..
006c668
100644
(file)
--- a/
source/actmgr/frmActivityMgr.cpp
+++ b/
source/actmgr/frmActivityMgr.cpp
@@
-330,9
+330,11
@@
void frmActivityMgr::ProcessTasksThread()
int ErrorCode = ConnHandle.GetResultCode();
int ErrorCode = ConnHandle.GetResultCode();
- if (ErrorCode !=
0
){
+ if (ErrorCode !=
CURLE_OK
){
- if (ErrorCode == 60 || ErrorCode == 51){
+ if (ErrorCode == CURLE_SSL_CACERT ||
+ ErrorCode == CURLE_PEER_FAILED_VERIFICATION ||
+ ErrorCode == CURLE_SSL_CONNECT_ERROR){
// Invalid SSL certificate so bring up a dialog to the user
// explaining what has happened and the options available.
// Invalid SSL certificate so bring up a dialog to the user
// explaining what has happened and the options available.
@@
-519,9
+521,11
@@
void frmActivityMgr::ProcessTasksThread()
int ErrorCode = ConnHandle.GetResultCode();
int ErrorCode = ConnHandle.GetResultCode();
- if (ErrorCode !=
0
){
+ if (ErrorCode !=
CURLE_OK
){
- if (ErrorCode == 60 || ErrorCode == 51){
+ if (ErrorCode == CURLE_SSL_CACERT ||
+ ErrorCode == CURLE_PEER_FAILED_VERIFICATION ||
+ ErrorCode == CURLE_SSL_CONNECT_ERROR){
// Invalid SSL certificate so bring up a dialog to the user
// explaining what has happened and the options available.
// Invalid SSL certificate so bring up a dialog to the user
// explaining what has happened and the options available.
@@
-789,9
+793,11
@@
void frmActivityMgr::ProcessTasksThread()
int ErrorCode = ConnHandle.GetResultCode();
int ErrorCode = ConnHandle.GetResultCode();
- if (ErrorCode !=
0
){
+ if (ErrorCode !=
CURLE_OK
){
- if (ErrorCode == 60 || ErrorCode == 51){
+ if (ErrorCode == CURLE_SSL_CACERT ||
+ ErrorCode == CURLE_PEER_FAILED_VERIFICATION ||
+ ErrorCode == CURLE_SSL_CONNECT_ERROR){
// Invalid SSL certificate so bring up a dialog to the user
// explaining what has happened and the options available.
// Invalid SSL certificate so bring up a dialog to the user
// explaining what has happened and the options available.
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy