From 94e789c0d80b97da4b406d94333b9801084aa4c8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 15 Feb 2010 01:04:59 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=20567 --- lib/procinfo_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/procinfo_win.cpp b/lib/procinfo_win.cpp index 390dd3ed1d..6c19076e55 100644 --- a/lib/procinfo_win.cpp +++ b/lib/procinfo_win.cpp @@ -67,7 +67,7 @@ int get_procinfo_XP(vector& pi) { ULONG cbBuffer = 128*1024; // 128k initial buffer PVOID pBuffer = NULL; PSYSTEM_PROCESSES pProcesses = NULL; - statid DWORD pid = 0; + static DWORD pid = 0; if (!pid) { pid = GetCurrentProcessId();