Commit 8ce1bc7c authored by Philip Carns's avatar Philip Carns

bug fix in logutils version handling


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@198 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 5026ed2c
......@@ -254,9 +254,11 @@ int darshan_log_getjob(darshan_fd file, struct darshan_job *job)
perror("darshan_job_init");
return(-1);
}
if(strcmp(job->version_string, "1.21"))
if(strcmp(job->version_string, "1.21") == 0)
return(0);
if(strcmp(job->version_string, "1.22") == 0)
return(0);
if(strcmp(job->version_string, "1.22"))
if(strcmp(job->version_string, "1.23") == 0)
return(0);
fprintf(stderr, "Error: incompatible darshan file.\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment