/[PAMELA software]/DarthVader/src/R2-D2.cpp
ViewVC logotype

Diff of /DarthVader/src/R2-D2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mocchiut, Thu Sep 7 09:47:08 2006 UTC revision 1.7 by mocchiut, Fri Sep 8 08:12:28 2006 UTC
# Line 268  int main(int numinp, char *inps[]){ Line 268  int main(int numinp, char *inps[]){
268      error = glrun->Query_GL_RUN(run,dbc);      error = glrun->Query_GL_RUN(run,dbc);
269      glroot->Clear();      glroot->Clear();
270      error = glroot->Query_GL_ROOT(glrun->ID_ROOT_L0,dbc);      error = glroot->Query_GL_ROOT(glrun->ID_ROOT_L0,dbc);
271      if ( error ){      if ( !glrun->ID_ROOT_L0 ){
       printf(" Error querying the DB! \n");  
       exit(-4);  
     };  
     if ( !glrun->ID ){  
272        printf("\n No run with ID=%u in the DB!\n",run);        printf("\n No run with ID=%u in the DB!\n",run);
273      } else {      } else {
274          if ( error ){
275            printf(" Error querying the DB! \n");
276            exit(-4);
277          };
278        printf("\n Run %u belongs to file %s \n",run,(glroot->PATH+glroot->NAME).Data());        printf("\n Run %u belongs to file %s \n",run,(glroot->PATH+glroot->NAME).Data());
279      };      };
280    };    };

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23