]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix small typo in mainloop.c docs.
authorGabriela Moldovan <gabi@torproject.org>
Tue, 7 Feb 2023 12:00:57 +0000 (12:00 +0000)
committerGabriela Moldovan <gabi@torproject.org>
Tue, 7 Feb 2023 12:15:12 +0000 (12:15 +0000)
The docs should reference `tor_event_new()` rather than `tor_libevent_new()`.

Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
src/core/mainloop/mainloop.c

index 8e1b33e56ec3f40aced80b705d77debc1b6628b8..a1ea32220aae843812bd24f3bfffd3a7f65e1c57 100644 (file)
@@ -21,7 +21,7 @@
  *   <li>signal_callback(), which handles incoming signals.
  *  </ul>
  * Other events are used for specific purposes, or for building more complex
- * control structures.  If you search for usage of tor_libevent_new(), you
+ * control structures.  If you search for usage of tor_event_new(), you
  * will find all the events that we construct in Tor.
  *
  * Tor has numerous housekeeping operations that need to happen