GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update curl_exception.h · JonasTTHacking/curlcpp@bf0b97d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • include
    • curl_exception.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎include/curl_exception.h‎

Copy file name to clipboardExpand all lines: include/curl_exception.h
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ namespace curl {
8888

8989
// Implementation of print_traceback
9090
inline void curl_exception::print_traceback() const {
91+
curl_exception::tracebackLocker.lock();
9192
std::for_each(curl_exception::traceback.begin(),curl_exception::traceback.end(),[](const curlcpp_traceback_object &value) {
9293
std::cout<<"ERROR: "<<value.first<<" ::::: FUNCTION: "<<value.second<<std::endl;
9394
});
95+
curl_exception::tracebackLocker.unlock();
9496
}
9597

9698
// Implementation of clear method.
@@ -187,4 +189,4 @@ namespace curl {
187189
};
188190
}
189191

190-
#endif /* defined(__curlcpp__curl_exception__) */
192+
#endif /* defined(__curlcpp__curl_exception__) */

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.