mirror of
https://github.com/samba-team/samba.git
synced 2025-11-30 20:23:49 +03:00
strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn.
This commit is contained in:
@@ -127,7 +127,7 @@ void set_socket_options(int fd, char *options)
|
||||
char *p;
|
||||
BOOL got_value = False;
|
||||
|
||||
if ((p = strchr(tok,'='))) {
|
||||
if ((p = strchr_m(tok,'='))) {
|
||||
*p = 0;
|
||||
value = atoi(p+1);
|
||||
got_value = True;
|
||||
|
||||
Reference in New Issue
Block a user