diff cinst/main.c @ 152:dbbd761959ae

Include line endings in check
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 24 Mar 2014 17:45:59 +0000
parents bd5a5d3e5674
children a4b1c77f3e6a
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;

http://wald.intevation.org/projects/trustbridge/