*** empty log message ***

svn path=/trunk/boinc/; revision=3207
This commit is contained in:
David Anderson 2004-04-02 00:32:10 +00:00
parent 889b7cd8dc
commit db1f8520ae
3 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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()
);
}

View File

@ -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) {