}
SILC_LOG_DEBUG(("Creating FD stream (two fds)"));
- stream = silc_fd_stream_create2(fd1, fd2);
+ stream = silc_fd_stream_create2(fd1, fd2, NULL);
if (!stream) {
SILC_LOG_DEBUG(("Error creating stream"));
goto err;
SILC_LOG_DEBUG(("Open file /tmp/test_silcfdstream for writing"));
SILC_LOG_DEBUG(("Creating FD stream"));
unlink("/tmp/test_silcfdstream");
- stream = silc_fd_stream_file("/tmp/test_silcfdstream", FALSE, TRUE);
+ stream = silc_fd_stream_file("/tmp/test_silcfdstream", FALSE, TRUE, NULL);
if (!stream) {
SILC_LOG_DEBUG(("Error creating stream"));
goto err;
if (argc > 1 && !strcmp(argv[1], "-d")) {
silc_log_debug(TRUE);
silc_log_debug_hexdump(TRUE);
- silc_log_set_debug_string("*fdstream*");
+ silc_log_set_debug_string("*fdstream*,*errno*");
}
SILC_LOG_DEBUG(("Allocating scheduler"));