projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1b09c
)
stupid
author
Bernhard Tittelbach
<xro@realraum.at>
Thu, 18 Mar 2010 21:01:44 +0000
(21:01 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Thu, 18 Mar 2010 21:01:44 +0000
(21:01 +0000)
serial_console/usocket.c
patch
|
blob
|
history
diff --git
a/serial_console/usocket.c
b/serial_console/usocket.c
index
4a6df80
..
9f05355
100644
(file)
--- a/
serial_console/usocket.c
+++ b/
serial_console/usocket.c
@@
-108,13
+108,12
@@
int main(int argc, char* argv[])
int socket_fd = 0;
char *socket_file;
//~ struct termios tmio_prev;
-
- if (argc > 0)
+ if (argc > 1)
socket_file = argv[1];
else
socket_file = default_socket_file_;
- if (argc > 1)
+ if (argc > 2)
quit_on_eof_=0;
socket_fd = establish_socket_connection(socket_file);