Make identd messages consistent with SASL messages

This commit is contained in:
Berke Viktor 2012-11-03 18:39:11 +01:00
parent 7d664e755e
commit 76f43ce583
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ identd (char *username)
identd_is_running = FALSE;
snprintf (outbuf, sizeof (outbuf), "%%\tServicing ident request from %s with user name \"%s\"\n",
snprintf (outbuf, sizeof (outbuf), "%%\tServicing ident request from %s as %s\n",
inet_ntoa (addr.sin_addr), username);
PrintText (current_sess, outbuf);
@ -143,7 +143,7 @@ identd_ipv6 (char *username)
snprintf (ipv6buf, sizeof (ipv6buf) - 1, "[SOCKET ERROR: 0x%X]", WSAGetLastError ());
}
snprintf (outbuf, sizeof (outbuf), "%%\tServicing ident request from %s with user name \"%s\"\n", ipv6buf, username);
snprintf (outbuf, sizeof (outbuf), "%%\tServicing ident request from %s as %s\n", ipv6buf, username);
PrintText (current_sess, outbuf);
recv (read_sok, buf, sizeof (buf) - 1, 0);