vlprocs-extended-user-logging-20050618
authorDerrick Brashear <shadow@dementia.org>
Sun, 19 Jun 2005 00:23:46 +0000 (00:23 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 19 Jun 2005 00:23:46 +0000 (00:23 +0000)
update log message to provide full username

src/vlserver/vlprocs.c

index 9d2feea..97c8afb 100644 (file)
@@ -97,7 +97,8 @@ rxinfo(rxcall)
        rxkad_GetServerInfo(rxcall->conn, NULL, &exp, tname, tinst, tcell,
                            NULL);
     if (!code)
-       sprintf(rxinfo_str, "%s %s", inet_ntoa(hostAddr), tname);
+       sprintf(rxinfo_str, "%s %s%s%s%s%s", inet_ntoa(hostAddr), tname,
+               tinst?".":"", tinst?tinst:"", tcell?"@":"", tcell?tcell:"");
     else
        sprintf(rxinfo_str, "%s noauth", inet_ntoa(hostAddr));
     return (rxinfo_str);