From efa1df6625717983ecf492179d73242518b6ae36 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 13 Aug 2004 19:22:04 +0000 Subject: [PATCH] Apply Martin's patch to compat.cpp inet_ntoa git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1521 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/compat/compat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/win32/compat/compat.cpp b/bacula/src/win32/compat/compat.cpp index 7d114289c1..d1ca453f8d 100644 --- a/bacula/src/win32/compat/compat.cpp +++ b/bacula/src/win32/compat/compat.cpp @@ -657,6 +657,7 @@ inet_aton(const char *a, struct in_addr *inp) } acc = (acc << 8) + tmp; dotc++; + tmp = 0; } else { return 0; /* error */ } -- 2.39.5