Clear error codes idiomatically

This commit is contained in:
Vinnie Falco committed 2019-01-20 09:50:43 -08:00
1 parent 9ea70bfbe5
commit 944b5dcda7
29 files changed
+118 -112

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ detect_ssl(
{
// This is a fast way to indicate success
// without retrieving the default category.
ec.assign(0, ec.category());
ec = {};
return result;
}