By the time the function is called the actions are already
initialized.
Sponsored by: Robert Klemme
init_domain_components(csp->http);
#endif
- /*
- * Determine the actions for this URL
- */
#ifdef FEATURE_TOGGLE
- if (!(csp->flags & CSP_FLAG_TOGGLED_ON))
- {
- /* Most compatible set of actions (i.e. none) */
- init_current_action(csp->action);
- }
- else
-#endif /* ndef FEATURE_TOGGLE */
+ if ((csp->flags & CSP_FLAG_TOGGLED_ON) != 0)
+#endif
{
+ /* Determine the actions for this URL */
get_url_actions(csp, csp->http);
}