1
0
Fork 0

minor fix to configure

This commit is contained in:
bagyenda 2007-09-11 09:56:24 +00:00
parent fcdd5c442b
commit 5a5e6603ef
2 changed files with 5 additions and 5 deletions

View File

@ -100,10 +100,10 @@ LIBS="$LIBS $withval")
dnl Check for large file handling
AC_SYS_LARGEFILE(CFLAGS)
if test ${ac_cv_sys_file_offset_bits} != no ; then
if test "${ac_cv_sys_file_offset_bits}" != no ; then
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
fi
if test ${ac_cv_sys_large_files} != "no" ; then
if test "${ac_cv_sys_large_files}" != "no" ; then
CFLAGS="$CFLAGS -D_LARGE_FILES=${ac_cv_sys_large_files}"
fi

View File

@ -145,9 +145,9 @@ static void start_push(Octstr *rcpt_to, int isphonenum, MmsEnvelope *e, MmsMsg *
settings->qfs->mms_queue_free_env(e);
}
done:
if (to) octstr_destroy(to);
if (pduhdr) octstr_destroy(pduhdr);
if (s) octstr_destroy(s);
octstr_destroy(to);
octstr_destroy(pduhdr);
octstr_destroy(s);
}