From 88949801b185c0090fe0c17baaef1fab74361daa Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Wed, 4 Jun 2003 17:42:37 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1294 --- client/client_state.C | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/client_state.C b/client/client_state.C index 540f7452ac..c247369b70 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -173,7 +173,7 @@ int CLIENT_STATE::init() { srand(time(NULL)); - language.read_language_file(LANGUAGE_FILE_NAME); + language.read_language_file(LANGUAGE_FILE_NAME); // parse account files. // If there are none, prompt user for project URL and create file @@ -1656,15 +1656,15 @@ int CLIENT_STATE::detach_project(PROJECT* project) { // TODO: add translation functionality // void msg_printf(PROJECT *p, int priority, char *fmt, ...) { - char buf[512], temp_buf[512]; - va_list ap; + char buf[512], temp_buf[512]; + va_list ap; if (fmt == NULL) return; - // Windows doesn't support vsnprintf, so we have to do - // this roundabout method to avoid buffer overruns - // - safe_strncpy(temp_buf, fmt, sizeof(temp_buf)); + // Windows doesn't support vsnprintf, so we have to do + // this roundabout method to avoid buffer overruns + // + safe_strncpy(temp_buf, fmt, sizeof(temp_buf)); va_start(ap, temp_buf); // Parses string for variables vsprintf(buf, temp_buf, ap); // And convert symbols To actual numbers va_end(ap); // Results are stored in text