summaryrefslogtreecommitdiff
path: root/lib/amigaos.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/amigaos.c')
-rw-r--r--lib/amigaos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/amigaos.c b/lib/amigaos.c
index d81384618..13336ce05 100644
--- a/lib/amigaos.c
+++ b/lib/amigaos.c
@@ -30,7 +30,7 @@ void amiga_cleanup()
{
if(SocketBase)
CloseLibrary(SocketBase);
-
+
SocketBase = NULL;
}
@@ -38,12 +38,12 @@ BOOL amiga_init()
{
if(!SocketBase)
SocketBase = OpenLibrary("bsdsocket.library", 4);
-
+
if(!SocketBase) {
fprintf(stderr, "No TCP/IP Stack running!\n\a");
return FALSE;
}
-
+
atexit(amiga_cleanup);
return TRUE;
}