summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-21 16:28:44 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-21 16:28:44 +0000
commit477350638399b8ff264100c7832c14df719055f3 (patch)
tree783ae3d3f7045b98592daae7cbb7c1c3240632fd /source3/rpc_client
parent9307940876a6c226969e9169d55c0408cd7ab032 (diff)
downloadsamba-477350638399b8ff264100c7832c14df719055f3.tar.gz
samba-477350638399b8ff264100c7832c14df719055f3.tar.bz2
samba-477350638399b8ff264100c7832c14df719055f3.zip
signed / unsigned issues
(This used to be commit bd2fc6bb85739cb8e7ed2254e2a553486daed054)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 12e2cc243c..002c86cafc 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -104,7 +104,7 @@ static BOOL rpc_read(struct cli_state *cli,
DEBUG(5,("rpc_read: offset end: 0x%x. data left to read:0x%x\n",
rdata->data->offset.end, data_to_read));
- return data_to_read >= 0;
+ return rdata->data.data != NULL;
}
/****************************************************************************