diff options
Diffstat (limited to 'debug/netsurfd.c')
-rw-r--r-- | debug/netsurfd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debug/netsurfd.c b/debug/netsurfd.c index 81a494ff0..dcb2150ab 100644 --- a/debug/netsurfd.c +++ b/debug/netsurfd.c @@ -14,7 +14,11 @@ void callback(content_msg msg, struct content *c, void *p1, if (msg == CONTENT_MSG_DONE || msg == CONTENT_MSG_ERROR) done = 1; else if (msg == CONTENT_MSG_STATUS) - printf("=== STATUS: %s", c->status_message); + printf("=== STATUS: %s\n", c->status_message); + else if (msg == CONTENT_MSG_REDIRECT) { + printf("=== REDIRECT to '%s'\n", error); + done = 1; + } } int main(int argc, char *argv[]) |