Skip to content
  • Nick Mathewson's avatar
    Comment-only change: annotate exit() calls. · 35746a9e
    Nick Mathewson authored
    Sometimes when we call exit(), it's because the process is
    completely hopeless: openssl has a broken AES-CTR implementation, or
    the clock is in the 1960s, or something like that.
    
    But sometimes, we should return cleanly from tor_main() instead, so
    that embedders can keep embedding us and start another Tor process.
    
    I've gone through all the exit() and _exit() calls to annotate them
    with "exit ok" or "XXXX bad exit" -- the next step will be to fix
    the bad exit()s.
    
    First step towards 23848.
    35746a9e