5b28df5
--- Python-2.4.4/Lib/logging/handlers.py.syslogexit	2006-12-05 11:41:12.000000000 -0500
5b28df5
+++ Python-2.4.4/Lib/logging/handlers.py	2006-12-05 11:41:20.000000000 -0500
5b28df5
@@ -586,11 +586,11 @@
5b28df5
         self.address = address
5b28df5
         self.facility = facility
5b28df5
         if type(address) == types.StringType:
5b28df5
-            self._connect_unixsocket(address)
5b28df5
             self.unixsocket = 1
5b28df5
+            self._connect_unixsocket(address)
5b28df5
         else:
5b28df5
-            self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
5b28df5
             self.unixsocket = 0
5b28df5
+            self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
5b28df5
 
5b28df5
         self.formatter = None
5b28df5