r4616: the first phase in the addition of proper support for
[samba.git] / source4 / torture / rpc / spoolss.c
index bfd03810c2577c1c4748e442a481e5855812ec72..6f2edf9f47580c778b61e82ff6deda0d8691924d 100644 (file)
@@ -649,7 +649,7 @@ static BOOL test_SecondaryClosePrinter(struct dcerpc_pipe *p, TALLOC_CTX *mem_ct
        BOOL ret = True;
 
        /* only makes sense on SMB */
-       if (p->transport.transport != NCACN_NP) {
+       if (p->conn->transport.transport != NCACN_NP) {
                return True;
        }