[tor-commits] [tor] branch main updated: Fix small typo in mainloop.c docs.

gitolite role git at cupani.torproject.org
Tue Feb 7 14:08:42 UTC 2023


This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
     new a9c7cd6b2c Fix small typo in mainloop.c docs.
a9c7cd6b2c is described below

commit a9c7cd6b2c08eed9bfd6dd3daa64a89083fd0b08
Author: Gabriela Moldovan <gabi at torproject.org>
AuthorDate: Tue Feb 7 12:00:57 2023 +0000

    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 at torproject.org>
---
 src/core/mainloop/mainloop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list