Work around fsp_open_session() not setting errno.
commitc1ffba2f957394979da8d30d6b1a2353bf6c825b
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 3 Aug 2008 14:48:11 +0000 (3 17:48 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 3 Aug 2008 17:26:50 +0000 (3 20:26 +0300)
tree225fe38dba829de44d01f56d4d6342c99b815134
parent6c2e8cd7b2110fc2f45af5a4bcfa8b640d75f288
Work around fsp_open_session() not setting errno.

fsp_open_session() has a bug where it does not set errno if getaddrinfo fails.
Before the bug 1013 fix, this caused an assertion failure.
After the bug 1013 fix, this caused a "Success" error message.
Now it instead causes "FSP server not found".
NEWS
src/network/state.c
src/network/state.h
src/protocol/fsp/fsp.c