From 2084a7c9423408d93ed917ba538bf6519c7c3b77 Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 29 Nov 1993 12:30:06 +0000 Subject: Use mpx in initialization of TELLERs Replaced index with strchr --- comm/OLD/tellagent.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'comm/OLD/tellagent.cc') diff --git a/comm/OLD/tellagent.cc b/comm/OLD/tellagent.cc index 6f73537..4123512 100644 --- a/comm/OLD/tellagent.cc +++ b/comm/OLD/tellagent.cc @@ -144,17 +144,17 @@ main (int argc, char** argv) const char* sname = argv [1]; const char* host = 0; - char* p = index (sname, '@'); + char* p = strchr (sname, '@'); if (p) { *p++ = '\0'; host = p; } - TELLER* tell = new TELLER; - tell->Init (sname, host); - UchMultiplexer mpx; + TELLER* tell = new TELLER; + tell->Init (mpx, sname, host); + int fdin = 0; /*stdin*/ if (argc == 2) { // tellagent server : start interactive session -- cgit v1.1