Browse Source

refine the log

pull/148/head
Max Lv 10 years ago
parent
commit
20ac8cf05a
1 changed files with 14 additions and 0 deletions
  1. 14
      src/local.c

14
src/local.c

@ -1209,8 +1209,15 @@ int main (int argc, char **argv)
// Init connections // Init connections
TAILQ_INIT(&connections); TAILQ_INIT(&connections);
// Enter the loop
ev_run (loop, 0); ev_run (loop, 0);
if (verbose)
{
LOGD("closed nicely.");
}
// Clean up
free_connections(loop); free_connections(loop);
free_udprelay(); free_udprelay();
@ -1319,8 +1326,15 @@ int start_ss_local_server(profile_t profile)
// Init connections // Init connections
TAILQ_INIT(&connections); TAILQ_INIT(&connections);
// Enter the loop
ev_run (loop, 0); ev_run (loop, 0);
if (verbose)
{
LOGD("closed nicely.");
}
// Clean up
free_connections(loop); free_connections(loop);
free_udprelay(); free_udprelay();

Loading…
Cancel
Save