httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject Code questions (server/mpm_common.c)
Date Mon, 11 Mar 2002 10:55:00 GMT
Hi,

server/mpm_common.c:363
#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX) || defined(TPF) ||
defined(__TANDEM) || defined(OS2) ||
defined(WIN32) || defined(NETWARE)

Can I break this line into smaller chunks?  If so, how?
I seem a bit rusty on how the various preprocessors handle
multiline #ifs (if they even do).


server/mpm_common.c:442
    rv = apr_file_close(pod->pod_in);
    if (rv != APR_SUCCESS) {
        return rv;
    }

    return rv;
}

If we are going to waste the if, we might aswell return
APR_SUCCESS, no?

Sander


Mime
View raw message