[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Fix crash on hostname not found



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv9261/lib/mixminion/server

Modified Files:
	MMTPServer.py 
Log Message:
Fix crash on hostname not found

Index: MMTPServer.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/MMTPServer.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- MMTPServer.py	13 Dec 2003 19:10:16 -0000	1.63
+++ MMTPServer.py	18 Dec 2003 22:55:27 -0000	1.64
@@ -1182,7 +1182,7 @@
             def lookupDone(name, (family, addr, when),
                            self=self, routing=routing, deliverable=deliverable,
                            serverName=serverName):
-                if addr == "NOENT":
+                if family == "NOENT":
                     # The lookup failed, so tell all of the message objects.
                     for m in deliverable:
                         try: