mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtprintinfo: Coverity 88447
This commit is contained in:
parent
09f187d6be
commit
40b38d300b
1 changed files with 1 additions and 1 deletions
|
@ -1181,7 +1181,7 @@ int ParseAIXv3PrintJobs(char *_printer, char *jobs,
|
||||||
static char *job_list = NULL;
|
static char *job_list = NULL;
|
||||||
static int prev_buf_size = 0;
|
static int prev_buf_size = 0;
|
||||||
|
|
||||||
strcpy(printer, _printer);
|
snprintf(printer, sizeof(printer), "%s", _printer);
|
||||||
if (s = strchr(printer, ':'))
|
if (s = strchr(printer, ':'))
|
||||||
*s = '\0';
|
*s = '\0';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue