mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
Jeremy.
(This used to be commit 0ff254264e
)
This commit is contained in:
@ -1203,7 +1203,7 @@ int name_mangle( char *In, char *Out, char name_type )
|
||||
p[0] = '\0';
|
||||
|
||||
/* Add the scope string. */
|
||||
for( i = 0, len = 0; NULL != global_scope(); i++, len++ )
|
||||
for( i = 0, len = 0; *(global_scope()) != '\0'; i++, len++ )
|
||||
{
|
||||
switch( (global_scope())[i] )
|
||||
{
|
||||
|
Reference in New Issue
Block a user