Author: metze Date: 2007-09-02 19:56:03 +0000 (Sun, 02 Sep 2007) New Revision: 24908
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24908 Log: we should not set s = NULL as we set it to talloc_strdup("") before metze Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c Changeset: Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c =================================================================== --- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c 2007-09-02 19:53:42 UTC (rev 24907) +++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c 2007-09-02 19:56:03 UTC (rev 24908) @@ -255,10 +255,9 @@ if (t_name != NULL) { s = talloc_asprintf_append(s, "%s:", t_name); - if (s == NULL) + if (s == NULL) { return NULL; - } else { - s = NULL; + } } if (b->host) {