projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3f667
)
...
author
Bernhard Tittelbach
<xro@realraum.at>
Thu, 17 Jun 2010 02:43:44 +0000
(
02:43
+0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Thu, 17 Jun 2010 02:43:44 +0000
(
02:43
+0000)
serial_console/usocket.c
patch
|
blob
|
history
diff --git
a/serial_console/usocket.c
b/serial_console/usocket.c
index
5c90061
..
c87b265
100644
(file)
--- a/
serial_console/usocket.c
+++ b/
serial_console/usocket.c
@@
-94,7
+94,7
@@
int main(int argc, char* argv[])
quit_on_eof_=0;
socket_fd = establish_socket_connection(socket_file);
- if(socket_fd)
+ if(socket_fd > 0)
{
fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK);
connect_terminal(socket_fd);