summaryrefslogtreecommitdiff
path: root/ftp/jftpgw/files/patch-03
blob: abd557c8aa3bc4cc12052d7f1a328dce117ff716 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** config.c~	Sat Jun 30 16:34:42 2001
--- config.c	Tue Jul 17 16:17:24 2001
***************
*** 468,476 ****
  	}
  	while (hl) {
  		if (hl->next == entry) {
- 			hl->next = hl->next->next;
  			delete = hl->next;
  			delete->next = (struct hostent_list*) 0;
  			hostent_destroy(delete); 
  			return;
  		} else {
--- 468,476 ----
  	}
  	while (hl) {
  		if (hl->next == entry) {
  			delete = hl->next;
  			delete->next = (struct hostent_list*) 0;
+ 			hl->next = hl->next->next;
  			hostent_destroy(delete); 
  			return;
  		} else {