You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Support for -Wlogical-op flag and warning fixes (Patch provided by Monty)
This commit is contained in:
committed by
Sergei Golubchik
parent
7775af75b4
commit
df07debedd
@@ -507,7 +507,7 @@ void read_user_name(char *name)
|
||||
str="UNKNOWN_USER";
|
||||
}
|
||||
ma_strmake(name,str,USERNAME_LENGTH);
|
||||
#elif HAVE_CUSERID
|
||||
#elif defined(HAVE_CUSERID)
|
||||
(void) cuserid(name);
|
||||
#else
|
||||
ma_strmake(name,"UNKNOWN_USER", USERNAME_LENGTH);
|
||||
|
Reference in New Issue
Block a user