From bc7049dbd6edaf109e10bf817fae8f6c4323115f Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Wed, 24 Jan 2007 17:47:53 +0000 Subject: [PATCH] *** empty log message *** --- mbuni/ChangeLog | 2 ++ mbuni/mmlib/mms_strings.c | 4 ++-- mbuni/mmlib/mms_strings.def | 1 + mbuni/mmsbox/bearerbox.c | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mbuni/ChangeLog b/mbuni/ChangeLog index 49f108f..b86ef71 100644 --- a/mbuni/ChangeLog +++ b/mbuni/ChangeLog @@ -1,3 +1,5 @@ +2007-01-24 Paul A. Bagyenda + * Fix crash for missing error code definition (thanks to Vincent Chavanis ) 2006-12-28 Paul A. Bagyenda * Removing '@' from transaction ID (thanks to Mario Noboa strings[i]); } } - return NULL; + return octstr_imm(""); } static unsigned char *number_to_cstr(long number, struct table *table) @@ -125,7 +125,7 @@ static unsigned char *number_to_cstr(long number, struct table *table) return (unsigned char *)octstr_get_cstr(table->strings[i]); } } - return NULL; + return ""; } /* Case-insensitive string lookup */ diff --git a/mbuni/mmlib/mms_strings.def b/mbuni/mmlib/mms_strings.def index 5f21839..25b258a 100644 --- a/mbuni/mmlib/mms_strings.def +++ b/mbuni/mmlib/mms_strings.def @@ -324,6 +324,7 @@ ASSIGN("Server Error", 3000) ASSIGN("Not Possible", 3001) ASSIGN("Message rejected", 3002) ASSIGN("Multiple addresses not supported", 3003) +ASSIGN("Command Rejected", 3005) ASSIGN("General service error", 4000) ASSIGN("Improper identification", 4001) ASSIGN("Unsupported version", 4002) diff --git a/mbuni/mmsbox/bearerbox.c b/mbuni/mmsbox/bearerbox.c index 58082de..a0cd08e 100644 --- a/mbuni/mmsbox/bearerbox.c +++ b/mbuni/mmsbox/bearerbox.c @@ -554,7 +554,7 @@ static Octstr *mm7soap_send(MmscGrp *mmc, Octstr *from, Octstr *to, } if (mm7_soapmsg_to_httpmsg(mreq, &rh, &body) < 0) { - *error = octstr_format("Failed to convert SOAP message 2 HTTP Msg!"); + *error = octstr_format("Failed to convert SOAP message to HTTP Msg!"); goto done1; }