mirror of https://github.com/Chizi123/dnscomp.git

Joel Grunbaum
2022-05-23 84c2884e35fdd9561adb426d7b86c8ed323953e8
Fixed typo in error checking
1 files modified
2 ■■■ changed files
dns.c 2 ●●● patch | view | raw | blame | history
dns.c
@@ -122,7 +122,7 @@
                   sizeof(struct QUESTION),
               0, (struct sockaddr*)&dest, sizeof(dest));
    if (i < 0) {
    if (i >= 0) {
        // receive response
        // negative return is a fail
        i = sizeof(dest);