From b68ed44f567e19220deed663e4230f3a6b11345b Mon Sep 17 00:00:00 2001 From: Tim Lan Date: Wed, 11 Jun 2003 23:36:41 +0000 Subject: [PATCH] Added support for project graphics svn path=/trunk/boinc/; revision=1398 --- sched/handle_request.C | 9 +++++---- sched/server_types.h | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sched/handle_request.C b/sched/handle_request.C index 3bc6750c5b..0757ca1cb8 100644 --- a/sched/handle_request.C +++ b/sched/handle_request.C @@ -156,19 +156,20 @@ int insert_app_file_tags(APP_VERSION& av, USER& user) { vector app_files; APP_FILE af; unsigned int i; - char buf[256], namebuf[256]; + char buf[256], name[256]; int retval; parse_project_prefs(user.project_prefs, app_files); for (i=0; i\n" " %s\n" " %s\n" "\n", - namebuf, af.url + name, af.url ); retval = insert_after(av.xml_doc, "", buf); if (retval) return retval; @@ -177,7 +178,7 @@ int insert_app_file_tags(APP_VERSION& av, USER& user) { " %s\n" " %s\n" " \n", - namebuf, af.open_name + name, af.open_name ); retval = insert_after(av.xml_doc, "\n", buf); if (retval) return retval; diff --git a/sched/server_types.h b/sched/server_types.h index 0e4084987c..56fef55b52 100644 --- a/sched/server_types.h +++ b/sched/server_types.h @@ -81,6 +81,7 @@ struct SCHEDULER_REPLY { struct APP_FILE { char url[256]; char open_name[256]; + int timestamp; int parse(char*&); };