]> git.sur5r.net Git - openocd/commit
server: add server_preinit which is called before config file is parsed.
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 10 Dec 2009 14:31:28 +0000 (14:31 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 11 Dec 2009 10:26:15 +0000 (10:26 +0000)
commit08589462adf3f81b480faacecb8352428212a2f5
tree89d250156b25f36e5aa4d5d45246ef79e08738fd
parent6b9c14e9085b5620c20e9cadffe1f5e64f09a0c6
server: add server_preinit which is called before config file is parsed.

This fixes the issue under native win32 of the socket interface not being
enabled (via WSAStartup) before init is called from a script.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/openocd.c
src/server/server.c
src/server/server.h