error checking

svn path=/trunk/boinc/; revision=951
This commit is contained in:
David Anderson 2003-02-20 21:38:11 +00:00
parent 7245196f5a
commit e27371b24b
1 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,10 @@ void add_app() {
void add_platform() {
int retval;
if (!user_friendly_name) {
fprintf( stderr, "User friendly name not specified.\n" );
exit(1);
}
if (!platform_name) {
fprintf( stderr, "Platform name not specified.\n" );
exit(1);