From 0a4946b3e913a2affe5fd342aa88e2533d06356e Mon Sep 17 00:00:00 2001 From: graham.gower Date: Tue, 17 Aug 2010 23:39:02 -0400 Subject: Remove trailing whitespace. Sorry if this breaks your patches. git-svn-id: http://opkg.googlecode.com/svn/trunk@552 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/pkg_parse.c') diff --git a/libopkg/pkg_parse.c b/libopkg/pkg_parse.c index f1725de..0149860 100644 --- a/libopkg/pkg_parse.c +++ b/libopkg/pkg_parse.c @@ -62,7 +62,7 @@ parse_comma_separated(const char *raw, unsigned int *count) while (*raw) { depends = xrealloc(depends, sizeof(char *) * (line_count + 1)); - + while (isspace(*raw)) raw++; @@ -230,7 +230,7 @@ pkg_parse_line(pkg_t *pkg, const char *line, uint mask) char *tmp = parse_simple("Installed-Time", line); pkg->installed_time = strtoul(tmp, NULL, 0); free (tmp); - } + } break; case 'M': @@ -246,7 +246,7 @@ pkg_parse_line(pkg_t *pkg, const char *line, uint mask) break; case 'P': - if ((mask & PFM_PACKAGE) && is_field("Package", line)) + if ((mask & PFM_PACKAGE) && is_field("Package", line)) pkg->name = parse_simple("Package", line); else if ((mask & PFM_PRIORITY) && is_field("Priority", line)) pkg->priority = parse_simple("Priority", line); -- cgit v0.9.1