"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "common/os_calls.c" between
xrdp-0.9.13.1.tar.gz and xrdp-0.9.14.tar.gz

About: xrdp is a remote desktop protocol (rdp) server (accepting connections from rdesktop and Microsoft’s own terminal server / remote desktop clients).

os_calls.c  (xrdp-0.9.13.1):os_calls.c  (xrdp-0.9.14)
skipping to change at line 2897 skipping to change at line 2897
return 0; return 0;
} }
if ((trim_flags < 1) || (trim_flags > 4)) if ((trim_flags < 1) || (trim_flags > 4))
{ {
return 1; return 1;
} }
text = (wchar_t *)malloc(len * sizeof(wchar_t) + 8); text = (wchar_t *)malloc(len * sizeof(wchar_t) + 8);
text1 = (wchar_t *)malloc(len * sizeof(wchar_t) + 8); text1 = (wchar_t *)malloc(len * sizeof(wchar_t) + 8);
if (text == NULL || text1 == NULL)
{
free(text);
free(text1);
return 1;
}
text1_index = 0; text1_index = 0;
mbstowcs(text, str, len + 1); mbstowcs(text, str, len + 1);
switch (trim_flags) switch (trim_flags)
{ {
case 4: /* trim through */ case 4: /* trim through */
for (index = 0; index < len; index++) for (index = 0; index < len; index++)
{ {
if (text[index] > 32) if (text[index] > 32)
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)