This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
oops, change#5382 didn't really fix the typo
[perl5.git] / ext / DynaLoader / dl_dlopen.xs
index 9f4d9a7..8e4936d 100644 (file)
@@ -200,7 +200,7 @@ dl_unload_file(libref)
   CODE:
     DLDEBUG(1,PerlIO_printf(Perl_debug_log, "dl_unload_file(%lx):\n", libref));
     RETVAL = (dlclose(libref) == 0 ? 1 : 0);
-    if (!RETVAL);
+    if (!RETVAL)
         SaveError(aTHX_ "%s", dlerror()) ;
     DLDEBUG(2,PerlIO_printf(Perl_debug_log, " retval = %d\n", RETVAL));
   OUTPUT: