Skip to content
Snippets Groups Projects
Commit d95dc91b authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

fixed a minor bug

Rev: NT/tools/sprshd:1.2
parent 2c136a1b
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ void handle_incoming_connection(object(Stdio.File) io) ...@@ -64,7 +64,7 @@ void handle_incoming_connection(object(Stdio.File) io)
int main(int argc, string *argv) int main(int argc, string *argv)
{ {
if(c<2) if(argc<2)
{ {
werror("Usage: sprshd <port> <host to accept connections from>\n"); werror("Usage: sprshd <port> <host to accept connections from>\n");
exit(1); exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment