Mercurial > trustbridge
changeset 152:dbbd761959ae
Include line endings in check
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 24 Mar 2014 17:45:59 +0000 |
parents | 0df62decff90 |
children | f09a0817e3bc |
files | cinst/main.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cinst/main.c Mon Mar 24 17:45:09 2014 +0000 +++ b/cinst/main.c Mon Mar 24 17:45:59 2014 +0000 @@ -104,7 +104,7 @@ } if (readingList) { str_append_str(certificate_list, &list_size, buf, len); - } else if (strcmp("UNINSTALL", buf) == 0) { + } else if (strcmp("UNINSTALL\r\n", buf) == 0) { /* Remove trailing \r\n */ strv_append(to_remove, buf, len - 2); continue;