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>
This commit is contained in:
Gabriela Moldovan 2023-02-07 12:00:57 +00:00
parent c1b940cebf
commit a9c7cd6b2c
No known key found for this signature in database
GPG key ID: 3946E0ADE72BAC99

View file

@ -21,7 +21,7 @@
* <li>signal_callback(), which handles incoming signals. * <li>signal_callback(), which handles incoming signals.
* </ul> * </ul>
* Other events are used for specific purposes, or for building more complex * 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. * will find all the events that we construct in Tor.
* *
* Tor has numerous housekeeping operations that need to happen * Tor has numerous housekeeping operations that need to happen