From 7fe6f96c15509ae4da82fba57c7883068d7c19d4 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Mon, 26 Apr 1999 21:07:14 +0000 Subject: [PATCH] fix unknown PR_smprintf problem --- mailnews/news/src/nsNntpIncomingServer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mailnews/news/src/nsNntpIncomingServer.cpp b/mailnews/news/src/nsNntpIncomingServer.cpp index bb41a082287..a935da63057 100644 --- a/mailnews/news/src/nsNntpIncomingServer.cpp +++ b/mailnews/news/src/nsNntpIncomingServer.cpp @@ -24,7 +24,7 @@ #include "prmem.h" #include "plstr.h" - +#include "prprf.h" /* get some implementation from nsMsgIncomingServer */ class nsNntpIncomingServer : public nsMsgIncomingServer, @@ -76,8 +76,6 @@ nsNntpIncomingServer::GetServerURI(char **uri) rv = GetHostName(&hostname); if (NS_FAILED(rv)) return rv; - const char* urischema ="news://"; - *uri = PR_smprintf("news://%s", hostname); PR_Free(hostname);