commit 95c7738ed23be6f8320197cbadcb32d6cb54de91
Author: Nikias Bassen <nik...@gmx.li>
Date:   Mon Apr 5 20:07:50 2010 +0200

    ipod-lockdown: fix error code checking

 tools/ipod-lockdown.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/ipod-lockdown.c b/tools/ipod-lockdown.c
index 8b45bdd..2e40533 100644
--- a/tools/ipod-lockdown.c
+++ b/tools/ipod-lockdown.c
@@ -149,7 +149,7 @@ iphone_write_sysinfo_extended (const char *uuid, const char 
*xml)
                return FALSE;
        }
        afc_ret = afc_make_directory(afc, device_dir);
-       if ((AFC_E_SUCCESS != ret) && (AFC_E_OBJECT_EXISTS != ret)) {
+       if ((AFC_E_SUCCESS != afc_ret) && (AFC_E_OBJECT_EXISTS != afc_ret)) {
                afc_client_free(afc);
                lockdownd_client_free(client);
                idevice_free(device);

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to