socket-default: Use -1 if socket is not available, as 0 is actually a valid fd
authorMartin Willi <martin@revosec.ch>
Thu, 11 Apr 2013 17:40:31 +0000 (19:40 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 6 May 2013 14:10:10 +0000 (16:10 +0200)
commite9326eba13ef4ea957824d7e6b2cfb51a0502637
treeaeb0bf2f269a74ed6f397598fce737874b2c4226
parentb0ccd14f2aa4e65d43e5c94ecdd296b1ad213bb1
socket-default: Use -1 if socket is not available, as 0 is actually a valid fd
src/libcharon/plugins/socket_default/socket_default_socket.c