diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-08-30 03:52:24 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-08-30 03:52:24 +0000 |
commit | c49999caa64dc28c155fd4602c82df32b1f27335 (patch) | |
tree | 05d0e9180c9e7b394fc8ca0dbdfabceb42503a12 /converter/ppm/ximtoppm.c | |
parent | 457592e1b0aad891a6a6321498a7cc1b631d4a9c (diff) | |
download | netpbm-mirror-c49999caa64dc28c155fd4602c82df32b1f27335.tar.gz netpbm-mirror-c49999caa64dc28c155fd4602c82df32b1f27335.tar.xz netpbm-mirror-c49999caa64dc28c155fd4602c82df32b1f27335.zip |
Release 10.86.24
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4127 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/ximtoppm.c')
-rw-r--r-- | converter/ppm/ximtoppm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/ppm/ximtoppm.c b/converter/ppm/ximtoppm.c index 111fd5eb..92b123f6 100644 --- a/converter/ppm/ximtoppm.c +++ b/converter/ppm/ximtoppm.c @@ -117,9 +117,9 @@ ReadXimHeader(FILE * const in_fp, */ header->bits_channel = atoi(a_head.bits_per_channel); header->alpha_flag = atoi(a_head.alpha_channel); - pm_asprintf(&header->author, a_head.author); - pm_asprintf(&header->date, a_head.date); - pm_asprintf(&header->program, a_head.program); + header->author = pm_strdup(a_head.author); + header->date = pm_strdup(a_head.date); + header->program = pm_strdup(a_head.program); /* Do double checking for bakwards compatibility */ if (header->npics == 0) header->npics = 1; |