From c71748534dc003f4e705ccf23663f89e421eaf5a Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 6 Jan 2023 11:48:41 +0300 Subject: [PATCH] mdig: minor fixes --- mdig/mdig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdig/mdig.c b/mdig/mdig.c index cf69aa3..037af82 100644 --- a/mdig/mdig.c +++ b/mdig/mdig.c @@ -375,7 +375,7 @@ int main(int argc, char **argv) else { fprintf(stderr, "ip family must be 4,6 or 46\n"); - return 1;; + return 1; } break; case 3: /* verbose */ @@ -400,7 +400,7 @@ int main(int argc, char **argv) if (WSAStartup(MAKEWORD(2, 2), &wsaData)) { fprintf(stderr,"WSAStartup failed\n"); - goto ex; + r=4; goto ex; } #endif