* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked

either, due to a pair of typos.  Now fixed.
This commit is contained in:
Gary V. Vaughan 2001-08-15 00:01:46 +00:00
parent a3c34e5ca2
commit 27f0f2ccee
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2001-08-15 Gary V. Vaughan <gary@gnu.org>
* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
either, due to a pair of typos. Now fixed.
* libltdl/ltdl.c (N_ELEMENTS): Deleted. How come nobody noticed
there was no way this could have ever worked?
(lt_dlcaller_set_data): Now that valid caller_ids must be

View File

@ -824,12 +824,12 @@ lt_dlseterror (errindex)
else if (errindex < LT_ERROR_MAX)
{
/* No error setting the error message! */
LT_DLMUTEX_SETERROR (lt_dlerror_strings[errorcount]);
LT_DLMUTEX_SETERROR (lt_dlerror_strings[errindex]);
}
else
{
/* No error setting the error message! */
LT_DLMUTEX_SETERROR (user_error_strings[errorcount - LT_ERROR_MAX]);
LT_DLMUTEX_SETERROR (user_error_strings[errindex - LT_ERROR_MAX]);
}
LT_DLMUTEX_UNLOCK ();