summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaranjeiro2010-07-06 10:12:16 +0000
committerlaranjeiro2010-07-06 10:12:16 +0000
commitc30516d556adb8cfc000da4b00ce7d3b74a182db (patch)
treeee39a1b1725753513cecf73259238e083ee59c87
parentcd082f4e014c84ca5806de8e7e573d0c4688a1ab (diff)
cesar/maximus/python/lib/cesar: return True on auth ok
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7269 017c9cb6-072f-447c-8318-d5b54f68fe89
-rw-r--r--cesar/maximus/python/lib/cesar/store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cesar/maximus/python/lib/cesar/store.py b/cesar/maximus/python/lib/cesar/store.py
index e7eb9f19fe..2a8eb975a9 100644
--- a/cesar/maximus/python/lib/cesar/store.py
+++ b/cesar/maximus/python/lib/cesar/store.py
@@ -8,7 +8,7 @@ def mac_store_sta_is_authenticated (maximus, sta, tei):
fcall.add_param_ushort ("tei", tei)
fcall.send()
- auth = fcall.bind_param_ushort ("auth")
+ auth = fcall.bind_param_ushort ("auth") != 0
return auth