commit 4cbaf94e910727601013489b32fd3eaa1895bf39 Author: Mike Perry mikeperry-git@fscked.org Date: Mon Jun 20 17:45:57 2011 -0700
Bug 3399: Fix a reversed boolean expression found by arno.
Thanks arno. --- src/components/cookie-jar-selector.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/components/cookie-jar-selector.js b/src/components/cookie-jar-selector.js index c80d662..7b4b841 100644 --- a/src/components/cookie-jar-selector.js +++ b/src/components/cookie-jar-selector.js @@ -167,7 +167,7 @@ function CookieJarSelector() { var name = tor_enabled? "tor" : "nontor"; var cookies = this.getProtectedCookies(name);
- if (cookies.toString() == "" || cookies == null) + if (cookies == null || cookies.toString() == "") cookies = new XML('<cookies/>'); var xml = <cookie>{cookie.value}</cookie>; xml.@name = cookie.name;
tor-commits@lists.torproject.org