Lines 1-9
Link Here
|
1 |
|
1 |
|
2 |
$FreeBSD: ports/net-mgmt/ehnt/files/patch-ehnt__client.c,v 1.1 2002/11/16 14:36:34 edwin Exp $ |
2 |
$FreeBSD$ |
3 |
|
3 |
|
4 |
--- ehnt_client.c.orig Thu Oct 4 22:18:29 2001 |
4 |
--- ehnt_client.c.orig Thu Oct 4 22:18:29 2001 |
5 |
+++ ehnt_client.c Thu Nov 14 22:12:07 2002 |
5 |
+++ ehnt_client.c Mon May 24 11:59:17 2004 |
6 |
@@ -89,7 +89,7 @@ |
6 |
@@ -69,7 +69,8 @@ |
|
|
7 |
printf("Warning: can't catch interrupt signal\n"); |
8 |
} |
9 |
fflush(stdout); |
10 |
- set_term(SET_TERM_RAW); |
11 |
+ if (e_cfg->mode != EM_COLONDUMP) |
12 |
+ set_term(SET_TERM_RAW); |
13 |
setbuf(stdout,NULL); |
14 |
|
15 |
for ( ; ; ) { |
16 |
@@ -78,7 +79,8 @@ |
17 |
int maxfd=sockfd; |
18 |
|
19 |
FD_ZERO(&read_fds); |
20 |
- FD_SET(STDIN_FILENO,&read_fds); |
21 |
+ if (e_cfg->mode != EM_COLONDUMP) |
22 |
+ FD_SET(STDIN_FILENO,&read_fds); |
23 |
FD_SET(sockfd,&read_fds); |
24 |
|
25 |
fflush(stdout); |
26 |
@@ -89,7 +91,7 @@ |
7 |
if (FD_ISSET(sockfd,&read_fds)) { |
27 |
if (FD_ISSET(sockfd,&read_fds)) { |
8 |
ehnt_client_processmessage(sockfd,routeraddr,my_ehnt_struct); |
28 |
ehnt_client_processmessage(sockfd,routeraddr,my_ehnt_struct); |
9 |
} |
29 |
} |