summaryrefslogtreecommitdiff
path: root/package/tntnet/patches/patch-framework_common_gnutls_cpp
blob: 02e89c2d05608154d2acdbb7474ce5307799e551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- tntnet-2.0.orig/framework/common/gnutls.cpp	2010-03-14 12:26:36.000000000 +0100
+++ tntnet-2.0/framework/common/gnutls.cpp	2011-10-13 17:40:02.000000000 +0200
@@ -364,7 +364,7 @@ namespace tnt
           break;
 
         if (ret == GNUTLS_E_AGAIN)
-          throw cxxtools::net::Timeout();
+          throw cxxtools::IOTimeout();
 
         if (ret < 0 && ret != GNUTLS_E_INTERRUPTED)
           throw GnuTlsException("gnutls_record_recv", ret);
@@ -403,7 +403,7 @@ namespace tnt
           break;
 
         if (ret == GNUTLS_E_AGAIN)
-          throw cxxtools::net::Timeout();
+          throw cxxtools::IOTimeout();
 
         if (ret != GNUTLS_E_INTERRUPTED)
           throw GnuTlsException("gnutls_record_send", ret);