svn commit: samba r26394 - in branches/SAMBA_4_0/source/librpc/rpc:
.
kai at samba.org
kai at samba.org
Tue Dec 11 10:47:36 GMT 2007
Author: kai
Date: 2007-12-11 10:47:36 +0000 (Tue, 11 Dec 2007)
New Revision: 26394
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26394
Log:
dcerpc: Use target_hostname() instead of peer_name() in dcerpc_server_name()
Modified:
branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c 2007-12-11 10:18:10 UTC (rev 26393)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c 2007-12-11 10:47:36 UTC (rev 26394)
@@ -1521,10 +1521,10 @@
*/
const char *dcerpc_server_name(struct dcerpc_pipe *p)
{
- if (!p->conn->transport.peer_name) {
+ if (!p->conn->transport.target_hostname) {
return "";
}
- return p->conn->transport.peer_name(p->conn);
+ return p->conn->transport.target_hostname(p->conn);
}
More information about the samba-cvs
mailing list