1
0
Fork 0

minor bug fix: unbase64

This commit is contained in:
bagyenda 2008-05-12 18:11:16 +00:00
parent 9bf11ffd57
commit 7264d4f88d
2 changed files with 2 additions and 3 deletions

View File

@ -1025,8 +1025,7 @@ void _mms_fixup_address(Octstr **address, char *unified_prefix, List *strip_pref
typ = NULL;
if (isphonenum(*address) || (typ && octstr_str_compare(typ, "/TYPE=PLMN") == 0)) {
if (unified_prefix)
mms_normalize_phonenum(address, unified_prefix, strip_prefixes);
mms_normalize_phonenum(address, unified_prefix, strip_prefixes);
octstr_append(*address, keep_suffix ? octstr_imm("/TYPE=PLMN") : octstr_imm(""));
} else if (typ)
octstr_append(*address, keep_suffix ? typ : octstr_imm(""));

View File

@ -59,7 +59,7 @@
#define MMSC_VERSION MBUNI_VERSION
#define MMS_NAME PACKAGE
#define DRM_CONTENT_TYPE(ctype) (octstr_case_search(ctype, octstr_imm("application/vnd.oma.drm"), 0) == 0)
#define DRM_CONTENT_TYPE(ctype) ((ctype) && octstr_case_search(ctype, octstr_imm("application/vnd.oma.drm"), 0) == 0)
/* Message location flags: Used to distinguish fetch-urls */
enum mms_loc_t {MMS_LOC_MMBOX = 1, MMS_LOC_MQUEUE=2};