Skip to content

Commit

Permalink
Pass result packet to configureNode callback
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Dec 7, 2009
1 parent 9fb2cb3 commit ffa00fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chrome/content/libs/services/bookmarksSynchronising.js
Expand Up @@ -705,7 +705,7 @@ _DECL_(BookmarksSynchronising, null, Model).prototype = {
}, new Callback(this._onNodeConfigured, this));
},

_onNodeConfigured: function(type) {
_onNodeConfigured: function(type, pkt) {
this._trace(arguments);

if (type) {
Expand Down
2 changes: 1 addition & 1 deletion chrome/content/libs/services/pep.js
Expand Up @@ -68,7 +68,7 @@ _DECL_(PEPNodeHandler).prototype = {
if (callback) {
var error = pkt.getChild(null, "urn:ietf:params:xml:ns:xmpp-stanzas");
var type = pkt.getType() == "result" ? null : error ? error.nodeName : "unknown";
callback(type);
callback(type, pkt);
}

yield null;
Expand Down

0 comments on commit ffa00fa

Please sign in to comment.