diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-06-04 16:24:02 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-06-04 16:24:02 -0400 |
| commit | bcfed65587720a0235848e8baf52ab7dbdfb2277 (patch) | |
| tree | 3410e2225c32f2db8a886bba84f8e438c167c8fb /src/plugin.c | |
| parent | 3f4bb877614e423a7c35a355b764ed052e1671a8 (diff) | |
| download | slapi-nis-bcfed65587720a0235848e8baf52ab7dbdfb2277.tar.gz slapi-nis-bcfed65587720a0235848e8baf52ab7dbdfb2277.tar.xz slapi-nis-bcfed65587720a0235848e8baf52ab7dbdfb2277.zip | |
- fix a warning, don't return a pointer from a function which returns integers
Diffstat (limited to 'src/plugin.c')
| -rw-r--r-- | src/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
