summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-05 23:27:39 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-05 23:27:39 +0000
commit9b190aca9e17f5549721a37e4ba66623ea344187 (patch)
tree7f1e606924e1d5b8a3bb6714b43b86fbd445904d /net
parent6b3683e29620c596adce0f8393dae2c6ea1f9fb5 (diff)
downloadpkgsrc-9b190aca9e17f5549721a37e4ba66623ea344187.tar.gz
Really mark fetchRestartCalls as volatile.
Diffstat (limited to 'net')
-rw-r--r--net/libfetch/files/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/fetch.c b/net/libfetch/files/fetch.c
index 4d72a7f5194..5a332eb0cae 100644
--- a/net/libfetch/files/fetch.c
+++ b/net/libfetch/files/fetch.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.16 2009/02/05 22:45:25 joerg Exp $ */
+/* $NetBSD: fetch.c,v 1.17 2009/02/05 23:27:39 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>
@@ -50,7 +50,7 @@ auth_t fetchAuthMethod;
int fetchLastErrCode;
char fetchLastErrString[MAXERRSTRING];
int fetchTimeout;
-extern int fetchRestartCalls = 1;
+extern volatile int fetchRestartCalls = 1;
int fetchDebug;