1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2007-01-24 17:47:53 +00:00
parent a21f21d5d6
commit bc7049dbd6
4 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,5 @@
2007-01-24 Paul A. Bagyenda <bagyenda@dsmagic.com>
* Fix crash for missing error code definition (thanks to Vincent Chavanis <vincent@telemaque.fr>)
2006-12-28 Paul A. Bagyenda <bagyenda@dsmagic.com> 2006-12-28 Paul A. Bagyenda <bagyenda@dsmagic.com>
* Removing '@' from transaction ID (thanks to Mario Noboa * Removing '@' from transaction ID (thanks to Mario Noboa
<mario.noboa@teamsourcing.com.ec) <mario.noboa@teamsourcing.com.ec)

View File

@ -107,7 +107,7 @@ static Octstr *number_to_string(long number, struct table *table)
return octstr_duplicate(table->strings[i]); return octstr_duplicate(table->strings[i]);
} }
} }
return NULL; return octstr_imm("");
} }
static unsigned char *number_to_cstr(long number, struct table *table) 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 (unsigned char *)octstr_get_cstr(table->strings[i]);
} }
} }
return NULL; return "";
} }
/* Case-insensitive string lookup */ /* Case-insensitive string lookup */

View File

@ -324,6 +324,7 @@ ASSIGN("Server Error", 3000)
ASSIGN("Not Possible", 3001) ASSIGN("Not Possible", 3001)
ASSIGN("Message rejected", 3002) ASSIGN("Message rejected", 3002)
ASSIGN("Multiple addresses not supported", 3003) ASSIGN("Multiple addresses not supported", 3003)
ASSIGN("Command Rejected", 3005)
ASSIGN("General service error", 4000) ASSIGN("General service error", 4000)
ASSIGN("Improper identification", 4001) ASSIGN("Improper identification", 4001)
ASSIGN("Unsupported version", 4002) ASSIGN("Unsupported version", 4002)

View File

@ -554,7 +554,7 @@ static Octstr *mm7soap_send(MmscGrp *mmc, Octstr *from, Octstr *to,
} }
if (mm7_soapmsg_to_httpmsg(mreq, &rh, &body) < 0) { 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; goto done1;
} }