either, due to a pair of typos. Now fixed.
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
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 ();