From 5a5e6603efe2efebfb69b4e917f8dbf253d13555 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Tue, 11 Sep 2007 09:56:24 +0000 Subject: [PATCH] minor fix to configure --- mbuni/configure.ac | 4 ++-- mbuni/mmsc/mmsmobilesender.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mbuni/configure.ac b/mbuni/configure.ac index 55d0c1a..1588c72 100644 --- a/mbuni/configure.ac +++ b/mbuni/configure.ac @@ -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 diff --git a/mbuni/mmsc/mmsmobilesender.c b/mbuni/mmsc/mmsmobilesender.c index 478c7e2..7536c28 100644 --- a/mbuni/mmsc/mmsmobilesender.c +++ b/mbuni/mmsc/mmsmobilesender.c @@ -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); }