mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 88481
This commit is contained in:
parent
bdc3ee7f43
commit
3b85e48a68
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ convert_2_tick(char *datestr)
|
|||
|
||||
memset((void *)&tmstr, 0, sizeof(struct tm));
|
||||
|
||||
strcpy(datebuf, datestr);
|
||||
snprintf(datebuf, sizeof(datebuf), "%s", datestr);
|
||||
|
||||
/* get week day */
|
||||
ptr = strtok(datebuf, " ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue