Commit e96f4d3
committed
try to avoid linux error
UTCP/src/ftp_c.cpp:2978:12: error: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying 10 bytes from a string of length 260 [-Werror=stringop-truncation]
2978 | strncpy(di->mod, m_szBuf, sizeof(di->mod)-1);1 parent 01c4ad1 commit e96f4d3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2975 | 2975 | | |
2976 | 2976 | | |
2977 | 2977 | | |
2978 | | - | |
| 2978 | + | |
| 2979 | + | |
2979 | 2980 | | |
2980 | 2981 | | |
2981 | 2982 | | |
| |||
0 commit comments