Browse Source

return NULL if storage is NULL

0.1.7
Georg Hopp 12 years ago
parent
commit
eb39587c69
  1. 5
      src/user/load.c

5
src/user/load.c

@ -35,9 +35,12 @@ userLoad(User this, Storage storage)
{ {
char * storage_data; char * storage_data;
size_t nstorage_data; size_t nstorage_data;
size_t * user_data_sizes; size_t * user_data_sizes;
if (NULL == storage) {
return NULL;
}
storageGet( storageGet(
storage, storage,
this->email, *this->nemail, this->email, *this->nemail,

Loading…
Cancel
Save