diff options
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index abeb16238..781f1bb03 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -493,7 +493,7 @@ static void free_package(common_node_t *node) | |||
493 | } | 493 | } |
494 | 494 | ||
495 | /* | 495 | /* |
496 | * Gets the next package field from package_buffer, seperated into the field name | 496 | * Gets the next package field from package_buffer, separated into the field name |
497 | * and field value, it returns the int offset to the first character of the next field | 497 | * and field value, it returns the int offset to the first character of the next field |
498 | */ | 498 | */ |
499 | static int read_package_field(const char *package_buffer, char **field_name, char **field_value) | 499 | static int read_package_field(const char *package_buffer, char **field_name, char **field_value) |
@@ -806,7 +806,7 @@ static void write_status_file(deb_file_t **deb_file) | |||
806 | write_flag = FALSE; | 806 | write_flag = FALSE; |
807 | tmp_string = strstr(control_buffer, "Status:"); | 807 | tmp_string = strstr(control_buffer, "Status:"); |
808 | if (tmp_string != NULL) { | 808 | if (tmp_string != NULL) { |
809 | /* Seperate the status value from the control buffer */ | 809 | /* Separate the status value from the control buffer */ |
810 | tmp_string += 7; | 810 | tmp_string += 7; |
811 | tmp_string += strspn(tmp_string, " \n\t"); | 811 | tmp_string += strspn(tmp_string, " \n\t"); |
812 | status_from_file = xstrndup(tmp_string, strcspn(tmp_string, "\n")); | 812 | status_from_file = xstrndup(tmp_string, strcspn(tmp_string, "\n")); |