aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/mainloop.c
diff options
context:
space:
mode:
authorGabriela Moldovan <gabi@torproject.org>2023-02-07 12:00:57 +0000
committerGabriela Moldovan <gabi@torproject.org>2023-02-07 12:15:12 +0000
commita9c7cd6b2c08eed9bfd6dd3daa64a89083fd0b08 (patch)
treeb3f3e16f85610da6231bf9665153b4e5675e6f39 /src/core/mainloop/mainloop.c
parentc1b940cebf110d5a05960d930ce55c0a782e9c8f (diff)
downloadtor-a9c7cd6b2c08eed9bfd6dd3daa64a89083fd0b08.tar.gz
tor-a9c7cd6b2c08eed9bfd6dd3daa64a89083fd0b08.zip
Fix small typo in mainloop.c docs.
The docs should reference `tor_event_new()` rather than `tor_libevent_new()`. Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Diffstat (limited to 'src/core/mainloop/mainloop.c')
-rw-r--r--src/core/mainloop/mainloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 8e1b33e56e..a1ea32220a 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -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