Author: metze Date: 2007-11-20 11:08:24 +0000 (Tue, 20 Nov 2007) New Revision: 26053
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26053 Log: IPC_RAP: don't use ndr_pull_save anymore metze Modified: branches/SAMBA_4_0/source/ntvfs/ipc/ipc_rap.c Changeset: Modified: branches/SAMBA_4_0/source/ntvfs/ipc/ipc_rap.c =================================================================== --- branches/SAMBA_4_0/source/ntvfs/ipc/ipc_rap.c 2007-11-20 11:08:13 UTC (rev 26052) +++ branches/SAMBA_4_0/source/ntvfs/ipc/ipc_rap.c 2007-11-20 11:08:24 UTC (rev 26053) @@ -273,10 +273,10 @@ for (r.out.count = 0; r.out.count < r.out.available; r.out.count++) { int i = r.out.count; - struct ndr_push_save data_save; + uint32_t offset_save; struct rap_heap_save heap_save; - ndr_push_save(call->ndr_push_data, &data_save); + offset_save = call->ndr_push_data->offset; rap_heap_save(call->heap, &heap_save); switch(r.in.level) { @@ -305,7 +305,7 @@ buffer_overflow: - ndr_push_restore(call->ndr_push_data, &data_save); + call->ndr_push_data->offset = offset_save; rap_heap_restore(call->heap, &heap_save); break; } @@ -355,10 +355,10 @@ for (r.out.count = 0; r.out.count < r.out.available; r.out.count++) { int i = r.out.count; - struct ndr_push_save data_save; + uint32_t offset_save; struct rap_heap_save heap_save; - ndr_push_save(call->ndr_push_data, &data_save); + offset_save = call->ndr_push_data->offset; rap_heap_save(call->heap, &heap_save); switch(r.in.level) { @@ -389,7 +389,7 @@ buffer_overflow: - ndr_push_restore(call->ndr_push_data, &data_save); + call->ndr_push_data->offset = offset_save; rap_heap_restore(call->heap, &heap_save); break; }
