diff options
author | chatty | 1993-11-29 12:28:30 +0000 |
---|---|---|
committer | chatty | 1993-11-29 12:28:30 +0000 |
commit | b4b59303f7a2c7a4d63d32060422c0899ce394aa (patch) | |
tree | efc7b1aaca49dde52a781b4dce28c21145bafd47 /comm/OLD | |
parent | c13d2935ed3dedab7331c8401783f39a06abb78f (diff) | |
download | ivy-league-b4b59303f7a2c7a4d63d32060422c0899ce394aa.zip ivy-league-b4b59303f7a2c7a4d63d32060422c0899ce394aa.tar.gz ivy-league-b4b59303f7a2c7a4d63d32060422c0899ce394aa.tar.bz2 ivy-league-b4b59303f7a2c7a4d63d32060422c0899ce394aa.tar.xz |
Changed syntax of UchMsgBuffer::Get
Replace index with strchr
Diffstat (limited to 'comm/OLD')
-rw-r--r-- | comm/OLD/portserv.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/comm/OLD/portserv.cc b/comm/OLD/portserv.cc index bbbeec8..7719be5 100644 --- a/comm/OLD/portserv.cc +++ b/comm/OLD/portserv.cc @@ -107,7 +107,7 @@ ParseConfigLine (char* line) for (; *s; s++) { switch (where) { case IN_WORD: - if (index (" \t(),", *s)) { + if (strchr (" \t(),", *s)) { *s = '\0'; where = IN_SPACE; if (nw < 255) @@ -133,7 +133,7 @@ ParseConfigLine (char* line) where = IN_QUOTE; word = s+1; } else - if (index (" \t(),", *s)) { + if (strchr (" \t(),", *s)) { *s = '\0'; } else { where = IN_WORD; @@ -482,7 +482,7 @@ RegistrationChannel :: HandleRead () return; } - if (! buf.Get (&req)) { + if (! buf.Get (req)) { Error (ErrWarn, "Receive", "could not read message"); return; } @@ -676,7 +676,7 @@ BroadcastChannel :: HandleRead () SysError (ErrFatal, "BroadcastChannel", EINTR); return; } - if (! buf.Get (&req)) { + if (! buf.Get (req)) { Error (ErrWarn, "BroadcastChannel", "could not read message"); return; } |