diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/userprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 079d5a43d..551573fed 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -322,11 +322,11 @@ bool DoBackgroundUserStuff(time_t TIME) if ((long)curr == -1) return false; - if ((curr) && (curr->fd != 0)) + if ((curr) && (curr->fd != 0)) /* XXX - why are we checking fd != 0? --w00t */ { int currfd = curr->fd; // we don't check the state of remote users. - if ((currfd != -1) && (currfd != FD_MAGIC_NUMBER)) + if (IS_LOCAL(curr)) { curr->FlushWriteBuf(); if (curr->GetWriteError() != "") |