Changeset 849 for releases

Show
Ignore:
Timestamp:
04/24/06 20:54:34 (3 years ago)
Author:
aj
Message:

last argument of ct_format_path is never changed.

Location:
releases/openct-0.6.7/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • releases/openct-0.6.7/src/ct/path.c

    r845 r849  
    1515 * Format path 
    1616 */ 
    17 int ct_format_path(char *path, size_t pathlen, char *file) 
     17int ct_format_path(char *path, const size_t pathlen, const char *file) 
    1818{ 
    1919        int rc; 
  • releases/openct-0.6.7/src/include/openct/path.h

    r820 r849  
    1212#endif 
    1313 
    14         extern int ct_format_path(char *path, size_t pathlen, char *file); 
     14extern int ct_format_path(char *path, const size_t pathlen, const char *file); 
    1515 
    1616#ifdef __cplusplus