summaryrefslogtreecommitdiff
path: root/examples/detect.c
diff options
context:
space:
mode:
authorRichard Low <richard@wentnet.com>2006-11-13 09:22:23 +0000
committerRichard Low <richard@wentnet.com>2006-11-13 09:22:23 +0000
commitdc0b6c718c196f7c8a0f594406142ad8aa359110 (patch)
treeeb9b6e4c765598630b7de5f42f9ed7769bf1a5e4 /examples/detect.c
parent3fcfea5b1a95ef8156a567132d937e2bb5574042 (diff)
downloadlibmtp-dc0b6c718c196f7c8a0f594406142ad8aa359110.tar.gz
Added callbacks
Diffstat (limited to 'examples/detect.c')
-rw-r--r--examples/detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/detect.c b/examples/detect.c
index 5132107..c693b4c 100644
--- a/examples/detect.c
+++ b/examples/detect.c
@@ -158,7 +158,7 @@ int main (int argc, char **argv)
}
// Try to get Media player device info XML file...
- files = LIBMTP_Get_Filelisting(device);
+ files = LIBMTP_Get_Filelisting_With_Callback(device, NULL, NULL);
if (files != NULL) {
LIBMTP_file_t *file, *tmp;
file = files;