diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-09-25 20:13:09 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-09-25 20:13:09 +0000 |
commit | 2d31b9e0a06dde404131dbc2300502bfd2698819 (patch) | |
tree | 15701ddfec63c3237f3ff4828bfabade5e0eae3e /converter/ppm | |
parent | 81fecd2b0abfba11fbd934b372fed659977c11c6 (diff) | |
download | netpbm-mirror-2d31b9e0a06dde404131dbc2300502bfd2698819.tar.gz netpbm-mirror-2d31b9e0a06dde404131dbc2300502bfd2698819.tar.xz netpbm-mirror-2d31b9e0a06dde404131dbc2300502bfd2698819.zip |
Release 10.73.37
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@4132 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm')
-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 dc04b363..238a7a02 100644 --- a/converter/ppm/ximtoppm.c +++ b/converter/ppm/ximtoppm.c @@ -116,9 +116,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; |