Changes in uspace/lib/c/generic/str.c [b48d046:22cf42d9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/str.c
rb48d046 r22cf42d9 731 731 { 732 732 size_t len = str_length(str); 733 734 wchar_t *wstr = calloc(len+1, sizeof(wchar_t)); 735 if (wstr == NULL) 736 return NULL; 737 738 str_to_wstr(wstr, len + 1, str); 733 wchar_t *wstr = calloc(len+1, sizeof(wchar_t)); 734 if (wstr == NULL) { 735 return NULL; 736 } 737 str_to_wstr(wstr, len+1, str); 739 738 return wstr; 740 739 }
Note:
See TracChangeset
for help on using the changeset viewer.