Ignore:
Timestamp:
Nov 18, 2005, 7:07:30 PM (20 years ago)
Author:
ansari
Message:

correction 2 petits bugs ds nouveau fits - Reza 18/11/2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsinoutfile.cc

    r2843 r2844  
    430430    fits_get_colname(FitsPtr(), CASEINSEN, "*", colname, &colnum, &status);
    431431    if (status == COL_NOT_FOUND)  break;
    432     if (status != COL_NOT_UNIQUE) {
     432    if ( (status != COL_NOT_UNIQUE) && (status != 0) ) {
    433433      char buff[32];
    434434      fits_get_errstatus(status, buff);
     
    445445    repcnt.push_back(repeat);
    446446    width.push_back(colw);
     447    if (status == 0)  break;
    447448  }
    448449  return colnames.size();
Note: See TracChangeset for help on using the changeset viewer.