Changeset b48d046 in mainline for uspace/lib/c/generic/str.c


Ignore:
Timestamp:
2011-08-21T13:16:40Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f90eb75
Parents:
25c1b2c
Message:

cstyle
(no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str.c

    r25c1b2c rb48d046  
    731731{
    732732        size_t len = str_length(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);
     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);
    738739        return wstr;
    739740}
Note: See TracChangeset for help on using the changeset viewer.