rv = m_nntpProtocol->LoadURL(m_url, nsnull );
rv = m_nntpProtocol->LoadURL(m_url, nsnull , &status);
nsNntpTestDriver::OnPostMessage(){    nsresult rv = NS_OK;    char *subject;    char *message;    char *newsgroup;        rv = PromptForUserDataAndBuildUrl("Newsgroup: ");    newsgroup =PL_strdup(m_userData);        m_urlString[0] = '\0';    PL_strcpy(m_urlString, m_urlSpec);    PL_strcat(m_urlString, "/");    PL_strcat(m_urlString, m_userData);    // now we need to attach a message        rv = PromptForUserDataAndBuildUrl("Subject: ");    subject = PL_strdup(m_userData);    printf("Enter your message below. End with a line with a dot (.)\n");    rv = PromptForUserDataAndBuildUrl("");    int messagelen = 0;    message = NULL;    while (m_userData[0]) {		if (m_userData[0] == '.') {			break;		}        int linelen = PL_strlen(m_userData);        char *newMessage = (char *)PR_Malloc(linelen+messagelen+2);        messagelen = linelen+messagelen+2;                newMessage[0]='\0';        if (message) PL_strcpy(newMessage, message);        PL_strcat(newMessage, m_userData);        PL_strcat(newMessage, "\n");        PR_FREEIF(message);        message = newMessage;        rv = PromptForUserDataAndBuildUrl("");    }    printf("Ready to post the message:\n");    printf("Subject: %s\n", subject);    printf("Message:\n%s\n", message);        SetupUrl(m_userData);    nsINNTPNewsgroupPost *post;    rv = NS_NewNewsgroupPost(&post);        if (NS_SUCCEEDED(rv)) {        post->AddNewsgroup(newsgroup);        post->SetBody(message);        post->SetSubject(subject);        // fake out these headers so that it's a valid post		// todo: get this from the the account manager        post->SetFrom("userid@somewhere.com");    }        m_url->SetMessageToPost(post);        printf("Running %s\n", m_urlString);    rv = m_nntpProtocol->LoadURL(m_url, nsnull /* display stream */);	return rv;}