Print

Print


…variable.

Note the `myName` variable needed to be changed to a string as it must own the memory; the memory pointed to by `getenv` my change after future `setenv` calls.

Fixes #1855
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1868

-- Commit Summary --

  * Provide a mechanism to override the detected hostname by environment variable.

-- File Changes --

    M src/Xrd/XrdConfig.cc (26)
    M src/Xrd/XrdConfig.hh (3)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1868.patch
https://github.com/xrootd/xrootd/pull/1868.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1868
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1