Navigation Menu

Skip to content

Commit

Permalink
A bit fix for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kanosaki committed May 5, 2012
1 parent b0235de commit 819d67e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/list.c
Expand Up @@ -100,11 +100,11 @@ reverse_inner(cell* cel, cell* prev)
{
cell* next = cel->next;
cel->next = prev;
if(next){
if(next)
return reverse_inner(next, cel);
}else{
else
return cel;
}

}

cell*
Expand Down

0 comments on commit 819d67e

Please sign in to comment.