aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2004-10-02 05:35:34 +0000
committerJason Woodward2004-10-02 05:35:34 +0000
commita8502005c4771b80449bf0843a53332493320519 (patch)
treeec1563e677fa7eee3d725bbb844c49101cdac5f0 /src
parent26b8d0625102517251a5e7ab02557664b79824c4 (diff)
downloadslapt-get-a8502005c4771b80449bf0843a53332493320519.tar.gz
removed needless else just added... sigh... late night + beer equals dumb code changes
Diffstat (limited to 'src')
-rw-r--r--src/configuration.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/configuration.c b/src/configuration.c
index 0212348..bc30d3d 100644
--- a/src/configuration.c
+++ b/src/configuration.c
@@ -191,13 +191,12 @@ void clean_pkg_dir(const char *dir_name){
return;
}
continue;
- }else{
- if( strstr(file->d_name,".tgz") !=NULL ){
- #if DEBUG == 1
- printf(_("unlinking %s\n"),file->d_name);
- #endif
- unlink(file->d_name);
- }
+ }
+ if( strstr(file->d_name,".tgz") !=NULL ){
+ #if DEBUG == 1
+ printf(_("unlinking %s\n"),file->d_name);
+ #endif
+ unlink(file->d_name);
}
}
closedir(tmp);