Skip to content

Commit 338a87e

Browse files
committed
fix some comments in the example
1 parent ff7bd5a commit 338a87e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/http-server/server/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace dd = datadog::tracing;
5252
void hard_stop(int /*signal*/) { std::exit(0); }
5353

5454
// `RequestTracingContext` is Datadog tracing specific information that is
55-
// associated with each incoming request via `Request::user_data`.
55+
// associated with each incoming request via `httplib::Request::user_data`.
5656
struct RequestTracingContext {
5757
// `spans` is a stack of Datadog tracing spans.
5858
//
@@ -68,7 +68,7 @@ struct RequestTracingContext {
6868
// route-specific handler (see `set_pre_routing_handler`). The grandchild
6969
// span, corresponding to the route-specific handler, can live on the call
7070
// stack of the handler function, and so that span and its descendants are
71-
// never added to `stack`.
71+
// never added to `spans`.
7272
//
7373
// Since there are at most two spans in `spans`, and because we know what
7474
// they are, we could instead have two data members of type

0 commit comments

Comments
 (0)