Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent 3def006 commit 910b9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stored/ndmp_tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -1452,10 +1452,10 @@ extern "C" void *ndmp_thread_server(void *arg)
/*
* Cleanup open files.
*/
fd_ptr = (s_sockfd *)sockfds->first();
fd_ptr = (s_sockfd *)sockfds.first();
while (fd_ptr) {
close(fd_ptr->fd);
fd_ptr = (s_sockfd *)sockfds->next();
fd_ptr = (s_sockfd *)sockfds.next();
}

/*
Expand Down

0 comments on commit 910b9fc

Please sign in to comment.