- API: don't crash if send trickle msg running standalone.

From Christian Ries.


svn path=/trunk/boinc/; revision=24357
This commit is contained in:
David Anderson 2011-10-08 16:33:31 +00:00
parent 88128c901d
commit 1f2accb000
2 changed files with 8 additions and 0 deletions

View File

@ -563,6 +563,7 @@ int boinc_get_status(BOINC_STATUS *s) {
static void send_trickle_up_msg() {
char buf[MSG_CHANNEL_SIZE];
BOINCINFO("Sending Trickle Up Message");
if (standalone) return;
strcpy(buf, "");
if (have_new_trickle_up) {
strcat(buf, "<have_new_trickle_up/>\n");

View File

@ -7007,3 +7007,10 @@ Charlie 8 Oct 2011
client/
coproc_detect.cpp
David 8 Oct 2011
- API: don't crash if send trickle msg running standalone.
From Christian Ries.
api/
boinc_api.cpp