Skip to content

Commit

Permalink
Removed duplicate code that had broken 'run-as'
Browse files Browse the repository at this point in the history
Change-Id: I649738fa168288452baa627ef20559f4b790d6ea
  • Loading branch information
jleveque committed Dec 11, 2013
1 parent 3bc3029 commit ac6c810
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions run-as/package.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,17 +519,6 @@ get_package_info(const char* pkgName, PackageInfo *info)

string_copy(info->seinfo, sizeof info->seinfo, p, q - p);

/* skip spaces */
if (parse_spaces(&p, end) < 0)
goto BAD_FORMAT;

/* grab the seinfo string */
q = skip_non_spaces(p, end);
if (q == p)
goto BAD_FORMAT;

string_copy(info->seinfo, sizeof info->seinfo, p, q - p);

/* Ignore the rest */
result = 0;
goto EXIT;
Expand Down

0 comments on commit ac6c810

Please sign in to comment.