Renaming incorrectly named argument.

This commit is contained in:
jst%mozilla.jstenback.com 2005-03-23 00:14:13 +00:00
Родитель 60d246ee26
Коммит f69e8c52b2
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -1041,10 +1041,10 @@ ns4xStreamWrapper::GetStream(nsIOutputStream* &result)
////////////////////////////////////////////////////////////////////////
NPError NP_EXPORT
_newstream(NPP npp, NPMIMEType type, const char* window, NPStream* *result)
_newstream(NPP npp, NPMIMEType type, const char* target, NPStream* *result)
{
NPN_PLUGIN_LOG(PLUGIN_LOG_NORMAL,
("NPN_NewStream: npp=%p, type=%s, window=%s\n", (void*)npp, (const char *)type, window));
("NPN_NewStream: npp=%p, type=%s, window=%s\n", (void*)npp, (const char *)type, target));
NPError err = NPERR_INVALID_INSTANCE_ERROR;
if(npp && npp->ndata) {
@ -1053,7 +1053,7 @@ _newstream(NPP npp, NPMIMEType type, const char* window, NPStream* *result)
nsCOMPtr<nsIPluginInstancePeer> peer;
if (NS_SUCCEEDED(inst->GetPeer(getter_AddRefs(peer))) &&
peer &&
NS_SUCCEEDED(peer->NewStream((const char*) type, window, getter_AddRefs(stream))))
NS_SUCCEEDED(peer->NewStream((const char*) type, target, getter_AddRefs(stream))))
{
ns4xStreamWrapper* wrapper = new ns4xStreamWrapper(stream);
if (wrapper) {