aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-28 02:24:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-28 02:24:24 +0100
commit6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch)
treea13f4f3558c2988bc95b5a59c9996da64a0bd570 /archival/dpkg.c
parent17323a6245597f16321e6bf99536ae9bb89c79cf (diff)
downloadbusybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.gz
busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.bz2
busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.zip
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r--archival/dpkg.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 9f58b54e6..7187ad6a0 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -858,8 +858,9 @@ static void write_status_file(deb_file_t **deb_file)
858 if (field_name == NULL) { 858 if (field_name == NULL) {
859 break; 859 break;
860 } 860 }
861 if ((strcmp(field_name, "Priority") == 0) || 861 if ((strcmp(field_name, "Priority") == 0)
862 (strcmp(field_name, "Section") == 0)) { 862 || (strcmp(field_name, "Section") == 0)
863 ) {
863 fprintf(new_status_file, "%s: %s\n", field_name, field_value); 864 fprintf(new_status_file, "%s: %s\n", field_name, field_value);
864 } 865 }
865 } 866 }
@@ -1079,8 +1080,9 @@ static int check_deps(deb_file_t **deb_file, int deb_start /*, int dep_max_count
1079 1080
1080 package_num = search_package_hashtable(package_edge->name, package_edge->version, package_edge->operator); 1081 package_num = search_package_hashtable(package_edge->name, package_edge->version, package_edge->operator);
1081 1082
1082 if (package_edge->type == EDGE_PRE_DEPENDS || 1083 if (package_edge->type == EDGE_PRE_DEPENDS
1083 package_edge->type == EDGE_DEPENDS) { 1084 || package_edge->type == EDGE_DEPENDS
1085 ) {
1084 int result=1; 1086 int result=1;
1085 status_num = 0; 1087 status_num = 0;
1086 1088