Variable 'l' instead of 'i' in main for SS_DEBUG
This commit is contained in:
@ -230,12 +230,12 @@ char buf[1024], *home, *cnf_file = NULL;
|
|||||||
char ddopt[1024];
|
char ddopt[1024];
|
||||||
|
|
||||||
#if defined(SS_DEBUG)
|
#if defined(SS_DEBUG)
|
||||||
int i;
|
int l;
|
||||||
|
|
||||||
i = atexit(skygw_logmanager_exit);
|
l = atexit(skygw_logmanager_exit);
|
||||||
i = atexit(mysql_library_end);
|
l = atexit(mysql_library_end);
|
||||||
|
|
||||||
if (i != 0) {
|
if (l != 0) {
|
||||||
fprintf(stderr, "Couldn't register exit function.\n");
|
fprintf(stderr, "Couldn't register exit function.\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user