diff options
author | Volker Lendecke <vl@samba.org> | 2012-01-25 09:10:04 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2012-01-25 11:57:18 +0100 |
commit | e9d66999c6003009aac5a4e115963b1ef581c9dc (patch) | |
tree | 8024ef9fa8e5ad0f250d5b2a2b65f25b036832d1 /source3 | |
parent | 8dd63b93431a267d5bd0f32278f7229adbb44eaa (diff) | |
download | samba-e9d66999c6003009aac5a4e115963b1ef581c9dc.tar.gz samba-e9d66999c6003009aac5a4e115963b1ef581c9dc.tar.bz2 samba-e9d66999c6003009aac5a4e115963b1ef581c9dc.zip |
Introduce dump_data_file
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 25 11:57:18 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 47d44705d2..4b7df92877 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3463,11 +3463,6 @@ static int cmd_getfacl(void) return 0; } -static void printf_cb(const char *buf, void *private_data) -{ - printf("%s", buf); -} - /**************************************************************************** Get the EA list of a file ****************************************************************************/ @@ -3511,8 +3506,8 @@ static int cmd_geteas(void) for (i=0; i<num_eas; i++) { d_printf("%s (%d) =\n", eas[i].name, (int)eas[i].flags); - dump_data_cb(eas[i].value.data, eas[i].value.length, false, - printf_cb, NULL); + dump_data_file(eas[i].value.data, eas[i].value.length, false, + stdout); d_printf("\n"); } |