PRStatus rv = PR_Shutdown(cmSock->fd, PR_SHUTDOWN_SEND);
PRStatus rv;  if (!sock) return CMTFailure;  rv = PR_Shutdown(cmSock->fd, PR_SHUTDOWN_SEND);
nsPSMShimShutdown(CMTSocket sock){    CMSocket *cmSock = (CMSocket*)sock;    PRStatus rv = PR_Shutdown(cmSock->fd, PR_SHUTDOWN_SEND);    return (PR_SUCCESS == rv) ? CMTSuccess : CMTFailure;}