зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
07602b3936
Коммит
383db939c2
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче