fixed compile error in asyncns.c
authorMikael Hallendal <micke@imendio.com>
Tue, 11 Nov 2008 05:13:47 +0100
changeset 559 6602623168cd
parent 554 df52d7a1a9af
child 560 f91deafed5b3
fixed compile error in asyncns.c
loudmouth/asyncns.c
--- a/loudmouth/asyncns.c	Wed Oct 29 17:54:25 2008 +0100
+++ b/loudmouth/asyncns.c	Tue Nov 11 05:13:47 2008 +0100
@@ -256,6 +256,7 @@
                 continue;
 
             if (close(fd) < 0) {
+                int saved_errno;
                 saved_errno = errno;
                 closedir(d);
                 errno = saved_errno;