diff options
author | chatty | 1993-11-29 12:30:06 +0000 |
---|---|---|
committer | chatty | 1993-11-29 12:30:06 +0000 |
commit | 2084a7c9423408d93ed917ba538bf6519c7c3b77 (patch) | |
tree | e71249e8dc8158d24c0e038642c6adc1c4a56654 /comm | |
parent | bb628f35553d9d944e6c56e8ce58d8e6493d72ef (diff) | |
download | ivy-league-2084a7c9423408d93ed917ba538bf6519c7c3b77.zip ivy-league-2084a7c9423408d93ed917ba538bf6519c7c3b77.tar.gz ivy-league-2084a7c9423408d93ed917ba538bf6519c7c3b77.tar.bz2 ivy-league-2084a7c9423408d93ed917ba538bf6519c7c3b77.tar.xz |
Use mpx in initialization of TELLERs
Replaced index with strchr
Diffstat (limited to 'comm')
-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 |