* uinfo.cc (cygheap_user::env_logsrv): Return "almost_null" in case where no
domain or username is "SYSTEM".
This commit is contained in:
parent
094d519311
commit
e97962b92a
|
@ -1,3 +1,8 @@
|
|||
2002-06-28 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* uinfo.cc (cygheap_user::env_logsrv): Return "almost_null" in case
|
||||
where no domain or username is "SYSTEM".
|
||||
|
||||
2002-06-28 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygheap.h (cygheap_user): Reorg to accommodate environment caching.
|
||||
|
|
|
@ -320,7 +320,7 @@ cygheap_user::env_logsrv (const char *name, size_t namelen)
|
|||
return plogsrv;
|
||||
|
||||
if (!domain () || strcasematch (winname (), "SYSTEM"))
|
||||
return NULL;
|
||||
return almost_null;
|
||||
|
||||
char logsrv[INTERNET_MAX_HOST_NAME_LENGTH + 3];
|
||||
cfree_and_set (plogsrv, almost_null);
|
||||
|
|
Loading…
Reference in New Issue