comparison 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
comparison
equal deleted inserted replaced
151:0df62decff90 152:dbbd761959ae
102 readingList = 0; 102 readingList = 0;
103 continue; 103 continue;
104 } 104 }
105 if (readingList) { 105 if (readingList) {
106 str_append_str(certificate_list, &list_size, buf, len); 106 str_append_str(certificate_list, &list_size, buf, len);
107 } else if (strcmp("UNINSTALL", buf) == 0) { 107 } else if (strcmp("UNINSTALL\r\n", buf) == 0) {
108 /* Remove trailing \r\n */ 108 /* Remove trailing \r\n */
109 strv_append(to_remove, buf, len - 2); 109 strv_append(to_remove, buf, len - 2);
110 continue; 110 continue;
111 } 111 }
112 if (*buf == 'I') { 112 if (*buf == 'I') {

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