Comparison

util/sasl_cyrus.lua @ 2403:916482cdfb74

util.sasl_cyrus: Removing whitespace.
author Tobias Markmann <tm@ayena.de>
date Tue, 29 Dec 2009 01:04:48 +0100
parent 2402:0f884bb1f08a
child 2404:d7abdd6893b8
comparison
equal deleted inserted replaced
2402:0f884bb1f08a 2403:916482cdfb74
42 end 42 end
43 43
44 -- create a new SASL object which can be used to authenticate clients 44 -- create a new SASL object which can be used to authenticate clients
45 function new(realm, service_name) 45 function new(realm, service_name)
46 local sasl_i = {}; 46 local sasl_i = {};
47 47
48 init(service_name); 48 init(service_name);
49 49
50 sasl_i.realm = realm; 50 sasl_i.realm = realm;
51 sasl_i.service_name = service_name; 51 sasl_i.service_name = service_name;
52 sasl_i.cyrus = cyrussasl.server_new(service_name, nil, nil, nil, nil) 52 sasl_i.cyrus = cyrussasl.server_new(service_name, nil, nil, nil, nil)
53 if sasl_i.cyrus == 0 then 53 if sasl_i.cyrus == 0 then
54 log("error", "got NULL return value from server_new") 54 log("error", "got NULL return value from server_new")