X-Git-Url: http://git.pk910.de/?p=NextIRCd.git;a=blobdiff_plain;f=src%2FIOHandler_test%2Fsocket%2Fiotest.c;h=d534ccbefc15f046e2634312a33fbcaa26bddf56;hp=ec9a3301c389b1068327894fb32267bdb7eb8707;hb=6385620286380e81ff8f22ac6c819bd098ec1e75;hpb=9e6045c7b6d7afc774eeb59fa5f5c4e02fe1f037 diff --git a/src/IOHandler_test/socket/iotest.c b/src/IOHandler_test/socket/iotest.c index ec9a330..d534ccb 100644 --- a/src/IOHandler_test/socket/iotest.c +++ b/src/IOHandler_test/socket/iotest.c @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { iolog_register_callback(io_log); - irc_iofd = iosocket_connect_flags("irc.nextirc.net", 6667, 0, NULL, io_callback, IOSOCKET_ADDR_IPV4); + irc_iofd = iosocket_connect("irc.nextirc.net", 6667, 0, NULL, io_callback); irc_iofd->parse_delimiter = 1; irc_iofd->delimiters[0] = '\n'; irc_iofd->delimiters[1] = '\r';