Always set socket to -1 on close()
commitd8aa5a4214582532a2fea8e6ea8d8f5c3ba96206
authorStéphane Raimbault <stephane.raimbault@gmail.com>
Thu, 9 May 2013 23:07:02 +0000 (10 01:07 +0200)
committerStéphane Raimbault <stephane.raimbault@gmail.com>
Thu, 9 May 2013 23:07:02 +0000 (10 01:07 +0200)
treeb606147b64eca7cc51e80e92f2795fac0356db37
parent55d9a371f1b0b8efdc43d9935071c74720253f79
Always set socket to -1 on close()
src/modbus-rtu.c
src/modbus-tcp.c