summaryrefslogtreecommitdiffstats
path: root/examples/libsmbclient/testsmbc.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-03-29 00:42:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:22 -0500
commitfbc611f431db443c23486f768ca5e2bc4db95c24 (patch)
treeeda7acba80812fe7fce924e9bbdbfa9dc971942d /examples/libsmbclient/testsmbc.c
parentfa787af52093e14de4a472d2ccb50b9ec66b10d1 (diff)
downloadsamba-fbc611f431db443c23486f768ca5e2bc4db95c24.tar.gz
samba-fbc611f431db443c23486f768ca5e2bc4db95c24.tar.xz
samba-fbc611f431db443c23486f768ca5e2bc4db95c24.zip
r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility
(This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)
Diffstat (limited to 'examples/libsmbclient/testsmbc.c')
-rw-r--r--examples/libsmbclient/testsmbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libsmbclient/testsmbc.c b/examples/libsmbclient/testsmbc.c
index 888a9c0d4f9..9f5e6148eed 100644
--- a/examples/libsmbclient/testsmbc.c
+++ b/examples/libsmbclient/testsmbc.c
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
((struct smbc_dirent *)dirp)->comment);
dirp += dsize;
- (char *)dirc -= dsize;
+ dirc -= dsize;
}