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
323 323
324static FILE *logfile = NULL;324static FILE *logfile = NULL;
325 325
326void exit_program(int ret)
327{
328 exit(ret);
329}
330
331/* FIXME: make avserver work with IPv6 */326/* FIXME: make avserver work with IPv6 */
332/* resolve host with also IP address parsing */327/* resolve host with also IP address parsing */
333static int resolve_host(struct in_addr *sin_addr, const char *hostname)328static 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