summaryrefslogtreecommitdiff
path: root/utils/messages.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-10-28 23:50:01 +0000
committerVincent Sanders <vince@kyllikki.org>2019-10-28 23:50:01 +0000
commit1176ce427113face73c48c4b2e4e5a810577b355 (patch)
treec8fadcd0c54cc99532f0c406f4f75178e2e00cf7 /utils/messages.c
parent5aeca580f43c5866794a630e35fa18dbfeefaa01 (diff)
downloadnetsurf-1176ce427113face73c48c4b2e4e5a810577b355.tar.gz
netsurf-1176ce427113face73c48c4b2e4e5a810577b355.tar.bz2
Improve timeout error messaging
Diffstat (limited to 'utils/messages.c')
-rw-r--r--utils/messages.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/messages.c b/utils/messages.c
index 0d2085c08..197d45ea6 100644
--- a/utils/messages.c
+++ b/utils/messages.c
@@ -333,6 +333,10 @@ const char *messages_get_errorcode(nserror code)
case NSERROR_BAD_CERTS:
/* Certificate chain verification failure */
return messages_get_ctx("CertificateVerificationNeeded", messages_hash);
+
+ case NSERROR_TIMEOUT:
+ /* Operation timed out */
+ return messages_get_ctx("Timeout", messages_hash);
}
/* The switch has no default, so the compiler should tell us when we