Cast away constness for newsgroup interface for testing purposes...If we need to do this in the real news host, we'll change the news host interface such that the newsgroup passed in is not const..

This commit is contained in:
mscott%netscape.com 1999-02-02 03:05:39 +00:00
Родитель 07602b3936
Коммит 383db939c2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -671,7 +671,7 @@ nsresult nsNNTPHostStub::AddGroup(const char *groupname, nsINNTPNewsgroup **retv
nsresult nsNNTPHostStub::RemoveGroup(const nsINNTPNewsgroup * group)
{
char * name = nsnull;
group->GetName(&name);
((nsINNTPNewsgroup *) group)->GetName(&name);
printf ("Removing group %s.\n", name ? name : "unspecified");
PR_FREEIF(name);