diff options
Diffstat (limited to 'comm/OLD/tellagent.cc')
-rw-r--r-- | comm/OLD/tellagent.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 |