about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTMIME.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTMIME.c')
-rw-r--r--WWW/Library/Implementation/HTMIME.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTMIME.c b/WWW/Library/Implementation/HTMIME.c
index 90094b8f..2e555000 100644
--- a/WWW/Library/Implementation/HTMIME.c
+++ b/WWW/Library/Implementation/HTMIME.c
@@ -381,14 +381,13 @@ PRIVATE int pumpData ARGS1(HTStream *, me)
 	    permanent_redirection = FALSE;
 	    if (me->location) {
 		CTRACE((tfp, "HTTP: 'Location:' is zero-length!\n"));
-		HTAlert(
-		    gettext("Got redirection with a bad Location header."));
+		HTAlert(REDIRECTION_WITH_BAD_LOCATION);
 	    }
 	    CTRACE((tfp, "HTTP: Failed to pick up location.\n"));
 	    if (me->location) {
 		FREE(me->location);
 	    } else {
-		HTAlert(gettext("Got redirection with no Location header."));
+		HTAlert(REDIRECTION_WITH_NO_LOCATION);
 	    }
 	}
     }