Ignore:
Timestamp:
08/12/11 14:11:51 (14 years ago)
Author:
Mathieu Morlighem
Message:

back to more general but unsecure sprintf_s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/io/Matlab/OptionParse.cpp

    r9320 r9323  
    106106                /*loop through and process each field for the element  */
    107107                for (i=0; i<mxGetNumberOfFields(prhs[0]); i++) {
    108                         sprintf_s(namei,161,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i));
     108                        snprintf(namei,161,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i));
    109109                        structi=mxGetFieldByNumber(prhs[0],sindex,i);
    110110
Note: See TracChangeset for help on using the changeset viewer.