diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/or/main.c b/src/or/main.c index e449b95b91..c19d4f6909 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -132,7 +132,7 @@ void evdns_shutdown(int); #ifdef HAVE_RUST // helper function defined in Rust to output a log message indicating if tor is // running with Rust enabled. See src/rust/tor_util -char *rust_welcome_string(void); +void rust_welcome_string(void); #endif /********* PROTOTYPES **********/ @@ -3283,11 +3283,7 @@ tor_init(int argc, char *argv[]) } #ifdef HAVE_RUST - char *rust_str = rust_welcome_string(); - if (rust_str != NULL && strlen(rust_str) > 0) { - log_notice(LD_GENERAL, "%s", rust_str); - } - tor_free(rust_str); + rust_welcome_string(); #endif /* defined(HAVE_RUST) */ if (network_init()<0) { |