From afb6e3a47a058ffecffc9437a23f7c60341b4e4a Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Tue, 28 Oct 2003 03:59:16 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2594 --- client/cs_statefile.C | 1 + 1 file changed, 1 insertion(+) diff --git a/client/cs_statefile.C b/client/cs_statefile.C index 3a9c382fe0..1e5cbeb994 100644 --- a/client/cs_statefile.C +++ b/client/cs_statefile.C @@ -163,6 +163,7 @@ done: int CLIENT_STATE::parse_venue() { char buf[256]; FILE* f = fopen(STATE_FILE_NAME, "r"); + if (!f) return 0; while (fgets(buf, 256, f)) { if (match_tag(buf, "")) { break;