mirror of
https://frontier.innolan.net/rainlance/amiga-ntimed.git
synced 2025-11-23 10:21:48 +00:00
Changed dependency to bsdsocket.library
This commit is contained in:
@ -167,12 +167,12 @@ static void init_libs(struct ntimedargs *args)
|
||||
BattClockBase = OpenResource(BATTCLOCK_NAME);
|
||||
}
|
||||
|
||||
#ifdef AROS
|
||||
if(!(SocketBase = OpenLibrary(BSDLIB_NAME, BSDLIB_REV))) {
|
||||
Put(NULL, OCX_DIAG, "No TCP/IP Stack running.\n");
|
||||
exit(2);
|
||||
}
|
||||
|
||||
#ifdef AROS
|
||||
if(SocketBaseTags(SBTM_SETVAL(SBTC_ERRNOPTR(sizeof(errno))), (IPTR)&errno,
|
||||
SBTM_SETVAL(SBTC_HERRNOLONGPTR), (IPTR)&h_errno, TAG_DONE)) {
|
||||
Put(NULL, OCX_DIAG, "Error initializing bsdsocket.\n");
|
||||
@ -271,10 +271,12 @@ static void clean_exit()
|
||||
UtilityBase = NULL;
|
||||
}
|
||||
|
||||
#ifdef AROS
|
||||
if (SocketBase != NULL) {
|
||||
CloseLibrary(SocketBase);
|
||||
SocketBase = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (rdargs) {
|
||||
FreeArgs(rdargs);
|
||||
|
||||
Reference in New Issue
Block a user