From e6775c120d850dd88defa35cf08cd806a1bafe6f Mon Sep 17 00:00:00 2001 From: Luka Miljak Date: Sat, 15 Mar 2014 13:34:34 +0000 Subject: [PATCH] minor commit - removing tty_dev from global variables --- moxerver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moxerver.c b/moxerver.c index ecd27c7..a603b07 100644 --- a/moxerver.c +++ b/moxerver.c @@ -12,7 +12,6 @@ /* Global variables used throughout the application */ struct server_t server; struct client_t client; //TODO working with only 1 client, this can be expanded into a list -struct tty_t tty_dev; /* Prints help message. */ static void usage() { @@ -116,7 +115,7 @@ int main(int argc, char *argv[]) { //TODO this is a good place to create and start the TTY thread, use "tty_path" when opening device if (tty_open(&tty_dev) < 0) { fprintf(stderr, "[%s] error: opening of tty device at %s failed\n" - "\t-> continuing in echo mode\n", NAME, tty_path); + "\t\t-> continuing in echo mode\n", NAME, tty_path); //return -1; }