Index: gw/smsc_emi2.c
===================================================================
RCS file: /home/cvs/gateway/gw/smsc_emi2.c,v
retrieving revision 1.39
diff -u -r1.39 smsc_emi2.c
--- gw/smsc_emi2.c	2002/01/17 07:52:39	1.39
+++ gw/smsc_emi2.c	2002/01/30 09:47:56
@@ -237,10 +237,9 @@
 	    if (result == -2) {
 		/* Are SMSCs going to return any temporary errors? If so,
 		 * testing for those error codes should be added here. */
-		error(0, "smsc_emi2: Server rejected our login, giving up");
-		conn->why_killed = SMSCCONN_KILLED_WRONG_PASSWORD;
+		error(0, "smsc_emi2: Server rejected our login, retrying");
 		conn_destroy(server);
-		return NULL;
+		continue;
 	    }
 	    else if (result == 0) {
 		error(0, "smsc_emi2: Got no reply to login attempt "
