diff options
Diffstat (limited to 'comm')
-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; } |