Ignore:
Timestamp:
Sep 6, 2000, 10:50:47 AM (25 years ago)
Author:
ansari
Message:

caractere nul en fin de chaine Noms...

File:
1 edited

Legend:

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

    r1143 r1180  
    207207    {
    208208      Noms[k]= new char[LONNOM+1];
    209       strncpy(Noms[k],dobj_->NomIndex(k).c_str(),LONNOM+1);
     209      strncpy(Noms[k],dobj_->NomIndex(k).c_str(),LONNOM);
     210      Noms[LONNOM] = '\0';
    210211    }
    211212   char* types=new char[ncols+1];
Note: See TracChangeset for help on using the changeset viewer.