Commit 892bc4b3 authored by Lenitra's avatar Lenitra
Browse files

Err null

parent cbb5b447
Loading
Loading
Loading
Loading
+3 −1
Changes for src/list.c: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ void* list_pop(list_t* l){

void* list_top(list_t l){
  if(list_is_empty(l)){
    return null;
    return NULL;
  }
  return l->val;
}
@@ -88,3 +88,5 @@ unsigned long int list_len(list_t l){
  }
  return len;
}

//
 No newline at end of file