sl_ctx = talloc_new(NULL);
if ((sl_module = mod_open(path)) == NULL) {
- LOG(log_error, logtype_sl, "sl_mod_load(%s): failed to load: %s", path, mod_error());
+ LOG(log_error, logtype_sl, "Failed to load: %s", path, mod_error());
EC_FAIL;
}
*rbuflen = 0;
+ if (sl_module == NULL)
+ return AFPERR_NOOP;
+
ibuf += 2;
ibuflen -= 2;