[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 3399: Fix a reversed boolean expression found by arno.
commit 4cbaf94e910727601013489b32fd3eaa1895bf39
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits