rem: var protocolChannel = get_destination_channel(newLocation, login, password); 
add: var protocolChannel = get_destination_channel(newLocation); 
context: function calendarUploadFile(aSourceFilename, newLocation, login, password, contentType){   try   {      var protocolChannel = get_destination_channel(newLocation, login, password);      if (!protocolChannel)      {         dump("failed to get a destination channel\n");         return;      }      output_file_to_channel(protocolChannel, aSourceFilename, contentType);      protocolChannel.asyncOpen(gPublishingListener, protocolChannel);      return;   }   catch (e)   {      alert("an error occurred in calendarUploadFile: " + e + "\n");   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4c45ef82548cb211397be177fd26e5a4234bc45c/publish.js/buggy/calendar/resources/content/publish.js