summaryrefslogtreecommitdiff
path: root/ui/check_version.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:55 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:55 +0200
commitc4182431ac7d9d306fdd2267e082fa4cec6fec2c (patch)
tree865cca543c062b7af2586f85cee19f9af4e7614d /ui/check_version.cpp
parent5.11 (diff)
downloadFreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.tar.gz
FreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.tar.bz2
FreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.zip
5.12
Diffstat (limited to 'ui/check_version.cpp')
-rw-r--r--ui/check_version.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/check_version.cpp b/ui/check_version.cpp
index c9d2049d..922708c7 100644
--- a/ui/check_version.cpp
+++ b/ui/check_version.cpp
@@ -68,7 +68,7 @@ public:
if (statusCode != HTTP_STATUS_OK)
throw InternetConnectionError(); //e.g. 404 - HTTP_STATUS_NOT_FOUND
- guardRequest.dismiss();
+ guardRequest .dismiss();
guardInternet.dismiss();
}
@@ -113,10 +113,7 @@ bool canAccessUrl(const wchar_t* url) //throw ()
(void)WinInetAccess(url); //throw InternetConnectionError
return true;
}
- catch (const InternetConnectionError&)
- {
- return false;
- }
+ catch (const InternetConnectionError&) { return false; }
}
bgstack15