Remove unnecessary ns_init() function.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@149 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1529,7 +1529,6 @@ int main(int argc, char *argv[], char *envp[])
|
||||
#ifdef WANT_TCL
|
||||
tcl_interp = Tcl_CreateInterp();
|
||||
#endif
|
||||
ns_init();
|
||||
|
||||
if (!dumb_mode && term_init(NULL))
|
||||
_exit(1);
|
||||
|
||||
@@ -3001,15 +3001,6 @@ int s;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void ns_init(void)
|
||||
{
|
||||
#ifndef WINNT
|
||||
#if defined(WANT_NSLOOKUP) && !defined(THREAD)
|
||||
ar_init(ARES_INITLIST|ARES_CALLINIT|ARES_INITSOCK);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
char *do_nslookup(char *host, char *nick, char *user, char *chan, int server, void (*func)(), char *command)
|
||||
{
|
||||
#ifdef WANT_NSLOOKUP
|
||||
|
||||
Reference in New Issue
Block a user