diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-10-02 09:36:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-10-02 09:36:32 +0000 |
commit | 0d297437293d04e0f566215108ddedf527715326 (patch) | |
tree | 5043864c266adbe3c0645264b695e193b46cd35f /inet | |
parent | 6a31ae84dcee538ac358195992331c858e26c486 (diff) | |
download | glibc-0d297437293d04e0f566215108ddedf527715326.tar.gz |
Update.
2003-10-02 Ulrich Drepper <drepper@redhat.com>
* inet/getnameinfo.c: Move domain out of nrl_domainname scope and
define it with libc_freeres_ptr.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/getnameinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c index 50197f8672..d735bbf9ea 100644 --- a/inet/getnameinfo.c +++ b/inet/getnameinfo.c @@ -55,12 +55,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # define min(x,y) (((x) > (y)) ? (y) : (x)) #endif /* min */ +libc_freeres_ptr (static char *domain); + static char * internal_function nrl_domainname (void) { - static char *domain; static int not_first; if (! not_first) |