1
0
Fork 0

MM7: Minor fix - remove MessageID field from all response types but SubmitRsp

This commit is contained in:
bagyenda 2006-09-14 12:47:37 +00:00
parent caa71ca8ca
commit 26cf73882b
2 changed files with 10 additions and 1 deletions

View File

@ -81,6 +81,15 @@ AC_ARG_WITH(libs,
[ --with-libs=FLAGS use FLAGS for extra libraries],
LIBS="$LIBS $withval")
dnl Check for large file handling
AC_SYS_LARGEFILE(CFLAGS)
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
CFLAGS="$CFLAGS -D_LARGE_FILES=${ac_cv_sys_large_files}"
fi
dnl implement SSL stuff.
dnl Implement the --with-ssl option.

View File

@ -1025,7 +1025,7 @@ MSoapMsg_t *mm7_make_resp(MSoapMsg_t *mreq, int status, Octstr *msgid)
http_header_add(mresp->envelope, "StatusCode", scode);
http_header_add(mresp->envelope, "StatusText", statustxt ? (char *)statustxt : "Error");
if (msgid)
if (msgid && mtype == MM7_TAG_SubmitReq) /* only allow MessageID in submitRsp */
http_header_add(mresp->envelope, "MessageID", octstr_get_cstr(msgid));
if (!MM7_SOAP_STATUS_OK(status)) {