comparison dbutil.c @ 1455:4afde04f0607 fuzz

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jan 2018 22:46:07 +0800
parents 41dca1e5ea34 336cae2238ca
children 5916af64acd4
comparison
equal deleted inserted replaced
1450:5b25d86b865b 1455:4afde04f0607
512 512
513 /* make sure that the socket closes */ 513 /* make sure that the socket closes */
514 void m_close(int fd) { 514 void m_close(int fd) {
515 int val; 515 int val;
516 516
517 if (fd == -1) { 517 if (fd < 0) {
518 return; 518 return;
519 } 519 }
520 520
521 do { 521 do {
522 val = close(fd); 522 val = close(fd);