mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3207
This commit is contained in:
parent
889b7cd8dc
commit
db1f8520ae
|
@ -138,12 +138,15 @@ int RPC_CLIENT::get_messages(
|
|||
"</get_messages>\n",
|
||||
nmessages, offset
|
||||
);
|
||||
fflush(fout);
|
||||
while (fgets(buf, 256, fin)) {
|
||||
puts(buf);
|
||||
if (match_tag(buf, "<msgs>")) continue;
|
||||
if (match_tag(buf, "</msgs>")) break;
|
||||
if (match_tag(buf, "<msg>")) {
|
||||
MESSAGE_DESC md;
|
||||
while (fgets(buf, 256, fin)) {
|
||||
puts(buf);
|
||||
if (match_tag(buf, "</msg>")) break;
|
||||
if (parse_str(buf, "<project>", md.project)) continue;
|
||||
if (parse_str(buf, "<body>", md.body)) continue;
|
||||
|
|
|
@ -220,7 +220,7 @@ void handle_get_messages(char* buf, FILE* fout) {
|
|||
);
|
||||
if (md.project) {
|
||||
fprintf(fout,
|
||||
" <project>%s</project>",
|
||||
" <project>%s</project>\n",
|
||||
md.project->get_project_name()
|
||||
);
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ void show_message(PROJECT *p, char* msg, int priority) {
|
|||
md.project = p;
|
||||
md.priority = priority;
|
||||
md.timestamp = now;
|
||||
md.message = msg;
|
||||
md.message = message;
|
||||
message_descs.push_back(md);
|
||||
|
||||
switch (priority) {
|
||||
|
|
Loading…
Reference in New Issue