[dahdi-commits] tzafrir: tools/trunk r9973 -	/tools/trunk/xpp/astribank_hexload.c
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Tue Jun  7 05:28:36 CDT 2011
    
    
  
Author: tzafrir
Date: Tue Jun  7 05:28:31 2011
New Revision: 9973
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9973
Log:
xpp: this is the right place for astribank_close()
Modified:
    tools/trunk/xpp/astribank_hexload.c
Modified: tools/trunk/xpp/astribank_hexload.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/astribank_hexload.c?view=diff&rev=9973&r1=9972&r2=9973
==============================================================================
--- tools/trunk/xpp/astribank_hexload.c (original)
+++ tools/trunk/xpp/astribank_hexload.c Tue Jun  7 05:28:31 2011
@@ -145,7 +145,6 @@
 int main(int argc, char *argv[])
 {
 	char			*devpath = NULL;
-	struct astribank_device *astribank;
 	int			opt_pic = 0;
 	int			opt_dest = 0;
 	enum dev_dest		dest = DEST_NONE;
@@ -244,7 +243,7 @@
 				return 1;
 			}
 		}
-	}
-	astribank_close(astribank, 0);
+		astribank_close(astribank, 0);
+	}
 	return 0;
 }
    
    
More information about the dahdi-commits
mailing list