author | Michael Krelin <hacker@klever.net> | 2007-06-16 09:47:38 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-06-16 09:47:38 (UTC) |
commit | 2d4ea456085c67bdd0539c6b481f7561b5977b3e (patch) (unidiff) | |
tree | 3e3592270f2b4c1cca735cc06a595b1d80019fa1 /lib/consumer.cc | |
parent | bd27af85ae505a64cde56ab78b244505b4737cf0 (diff) | |
download | libopkele-2d4ea456085c67bdd0539c6b481f7561b5977b3e.zip libopkele-2d4ea456085c67bdd0539c6b481f7561b5977b3e.tar.gz libopkele-2d4ea456085c67bdd0539c6b481f7561b5977b3e.tar.bz2 |
remove catch-all nop handler
-rw-r--r-- | lib/consumer.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/consumer.cc b/lib/consumer.cc index 30a5507..12866f0 100644 --- a/lib/consumer.cc +++ b/lib/consumer.cc | |||
@@ -144,10 +144,8 @@ namespace opkele { | |||
144 | try { | 144 | try { |
145 | try { | 145 | string ah = find_assoc(server)->handle(); |
146 | string ah = find_assoc(server)->handle(); | 146 | p["assoc_handle"] = ah; |
147 | p["assoc_handle"] = ah; | 147 | }catch(failed_lookup& fl) { |
148 | }catch(failed_lookup& fl) { | 148 | string ah = associate(server)->handle(); |
149 | string ah = associate(server)->handle(); | 149 | p["assoc_handle"] = ah; |
150 | p["assoc_handle"] = ah; | 150 | } |
151 | } | ||
152 | }catch(exception& e) { } | ||
153 | if(ext) ext->checkid_hook(p,identity); | 151 | if(ext) ext->checkid_hook(p,identity); |