History

Use atexit() instead of defining a custom exit_program() interface.

Diego Elio Pettenò committed 14 years ago

Commit 5e3f9971 parent bd680c78 files · +115 −130Browse files

Showing the changes to avserver.c (1 of 8 files). Show all

Unified · Split

avserver.c+0−5
@@ -323,11 +323,6 @@ static AVLFG random_state; · 322 unmodified lines
323323
324324 static FILE *logfile = NULL;
325325
326−void exit_program(int ret)
327−{
328− exit(ret);
329−}
330−
331326 /* FIXME: make avserver work with IPv6 */
332327 /* resolve host with also IP address parsing */
333328 static int resolve_host(struct in_addr *sin_addr, const char *hostname)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t