From 60c296338c65caba447fbb10590d44c42f9ff2b4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 24 Jun 2010 05:11:34 +0000 Subject: [PATCH] - API: compile fix svn path=/trunk/boinc/; revision=21801 --- api/boinc_api.cpp | 2 +- checkin_notes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/api/boinc_api.cpp b/api/boinc_api.cpp index ac62d81a9c..3931c3f92d 100644 --- a/api/boinc_api.cpp +++ b/api/boinc_api.cpp @@ -500,6 +500,7 @@ int boinc_temporary_exit(int delay) { // void boinc_exit(int status) { int retval; + char buf[256]; if (options.backwards_compatible_graphics) { graphics_cleanup(); @@ -509,7 +510,6 @@ void boinc_exit(int status) { retval = file_lock.unlock(LOCKFILE); if (retval) { #ifdef _WIN32 - char buf[256]; windows_error_string(buf, 256); fprintf(stderr, "%s Can't unlock lockfile (%d): %s\n", diff --git a/checkin_notes b/checkin_notes index 564e541130..1c6197c9d7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4528,3 +4528,9 @@ Charlie 23 Jun 2010 mac_build/ boinc.xcodeproj/ project.pbxproj + +David 23 Jun 2010 + - API: compile fix + + api/ + boinc_api.cpp