Changeset 136 for trunk/samba/source/libsmb/climessage.c
- Timestamp:
- May 29, 2008, 12:22:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/libsmb/climessage.c
r133 r136 72 72 { 73 73 char *msgdos; 74 int lendos;74 size_t lendos; 75 75 char *p; 76 76 … … 86 86 *p++ = 1; 87 87 88 if ((lendos = (int)convert_string_allocate(NULL,CH_UNIX, CH_DOS, msg,len, (void **)(void *)&msgdos, True)) < 0 || !msgdos) { 88 if (!convert_string_allocate(NULL, CH_UNIX, CH_DOS, msg, len, 89 (void **)(void *)&msgdos, &lendos, True) || !msgdos) { 89 90 DEBUG(3,("Conversion failed, sending message in UNIX charset\n")); 90 91 SSVAL(p, 0, len); p += 2;
Note:
See TracChangeset
for help on using the changeset viewer.