summaryrefslogtreecommitdiff
path: root/examples/detect.c
diff options
context:
space:
mode:
authortedbullock <tedbullock>2007-02-26 19:22:48 +0000
committertedbullock <tedbullock>2007-02-26 19:22:48 +0000
commit5aaed1c9b46943e71afb8e7fe9697ddefb5cf1b0 (patch)
tree04adc6181097390e7dd9810982c4e8da54a03cb3 /examples/detect.c
parent6c060956d4b9b82eade2cd5dd31f5ec6d94da010 (diff)
downloadlibmtp-5aaed1c9b46943e71afb8e7fe9697ddefb5cf1b0.tar.gz
Fixed some formatting problems
Diffstat (limited to 'examples/detect.c')
-rw-r--r--examples/detect.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/detect.c b/examples/detect.c
index be4de50..fc28b25 100644
--- a/examples/detect.c
+++ b/examples/detect.c
@@ -191,8 +191,6 @@ int main (int argc, char **argv)
LIBMTP_Dump_Errorstack(iter);
LIBMTP_Clear_Errorstack(iter);
}
- LIBMTP_Dump_Errorstack(iter);
- LIBMTP_Clear_Errorstack(iter);
// Try to get Media player device info XML file...
files = LIBMTP_Get_Filelisting_With_Callback(iter, NULL, NULL);
@@ -219,10 +217,10 @@ int main (int argc, char **argv)
if (tmpfiledescriptor != -1)
{
int ret = LIBMTP_Get_Track_To_File_Descriptor(iter,
- xmlfileid,
- tmpfiledescriptor,
- NULL,
- NULL);
+ xmlfileid,
+ tmpfiledescriptor,
+ NULL,
+ NULL);
if (ret == 0)
{
uint8_t *buf = NULL;