[Bug Report] Missing Winsock initialization in v0.82

Paul Thurston <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <2A93B3F6EB39EA48A0D41234D272A82A5F501E6E79@EXVMBX020-11.exch020.serverdata.net>
I reported this bug in the v0.82 last year (May 2009). Would someone please patch this, or provide me with CVS access ( and I'll do it)?

<Version>
FreeTDS v0.82

<Issue>
Failure to call WinSock initialization routine WSAStartup in Windows Build.

<Source file to Patch>
net.c

<Function to patch>

 int tds_open_socket(TDSSOCKET * tds, const char *ip_addr, unsigned int port, int timeout)

<Code Line to Patch>
Line 201

<Patch Source Code>

INITSOCKET();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.