summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/finger/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c
index 240cbcadd4fa..a3c40b56929f 100644
--- a/usr.bin/finger/net.c
+++ b/usr.bin/finger/net.c
@@ -116,7 +116,7 @@ do_protocol(const char *name, const struct addrinfo *ai)
struct iovec iov[3];
struct msghdr msg;
static char slash_w[] = "/W ";
- static char neteol[] = "\n\r";
+ static char neteol[] = "\r\n";
s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
if (s < 0) {