Variable 'l' instead of 'i' in main for SS_DEBUG

This commit is contained in:
Massimiliano Pinto
2013-07-15 09:09:43 +02:00
parent 45c28a033e
commit 5d2dc8961f

View File

@ -230,12 +230,12 @@ char buf[1024], *home, *cnf_file = NULL;
char ddopt[1024];
#if defined(SS_DEBUG)
int i;
int l;
i = atexit(skygw_logmanager_exit);
i = atexit(mysql_library_end);
l = atexit(skygw_logmanager_exit);
l = atexit(mysql_library_end);
if (i != 0) {
if (l != 0) {
fprintf(stderr, "Couldn't register exit function.\n");
}
#endif