diff options
| author | Ray Strode <rstrode@redhat.com> | 2007-06-06 16:22:03 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2007-06-06 16:22:03 -0400 |
| commit | 5b416dbb9df3f50cfc1dcd8bb72699ad0074f9ee (patch) | |
| tree | eb4285b3368a43e7de9d395ad274d96fce4cea4b /src | |
| parent | e525478603e24e68e9dd706d8897e7b9b88d8e0f (diff) | |
reverse conditional in new module load code
Diffstat (limited to 'src')
| -rw-r--r-- | src/ply-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ply-utils.c b/src/ply-utils.c index 2136f4b..4f5821f 100644 --- a/src/ply-utils.c +++ b/src/ply-utils.c @@ -610,7 +610,7 @@ ply_module_look_up_function (ply_module_handle_t *handle, dlerror (); function = (ply_module_function_t) dlsym (handle, function_name); - if (dlerror () == NULL) + if (dlerror () != NULL) { if (errno == 0) errno = ELIBACC; |
