From bcfed65587720a0235848e8baf52ab7dbdfb2277 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Wed, 4 Jun 2008 16:24:02 -0400 Subject: - fix a warning, don't return a pointer from a function which returns integers --- src/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index d5e5e4e..061381c 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -175,7 +175,7 @@ plugin_state_init(Slapi_PBlock *pb, struct plugin_state **lstate) slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "error initializing tcp_wrappers for \"%s\"\n", plugin_description.spd_id); - return state; + return -1; } #else state->request_info = NULL; -- cgit