masqmail
view src/base64/Makefile.am @ 312:c74adb7c4f50
null-terminated the decoded base64 strings
The returned size is still the same. I only alloced one byte more and
filled it with zero.
TODO: I'm not sure if the allocated size is exact. It's large enough
but maybe too large.
author | meillo@marmaro.de |
---|---|
date | Sun, 24 Apr 2011 20:13:47 +0200 |
parents | |
children |
line source
1 AM_CFLAGS=@CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE
3 noinst_LIBRARIES=libbase64.a
4 noinst_PROGRAMS=base64enc base64dec
6 base64enc_SOURCES=\
7 base64.h\
8 base64enc.c\
9 base64.c
11 base64dec_SOURCES=\
12 base64.h\
13 base64dec.c\
14 base64.c
16 libbase64_a_SOURCES=\
17 base64.h\
18 base64.c
20 base64enc_LDADD=@GLIB_LIBS@
21 base64dec_LDADD=@GLIB_LIBS@