| 1062 | } |
| 1063 | |
| 1064 | static void proto_list_append(struct strbuf *list, const char *proto) |
| 1065 | { |
| 1066 | if (!list) |
| 1067 | return; |
| 1068 | if (list->len) |
| 1069 | strbuf_addch(list, ','); |
| 1070 | strbuf_addstr(list, proto); |
| 1071 | } |
| 1072 | |
| 1073 | static long get_curl_allowed_protocols(int from_user, struct strbuf *list) |
| 1074 | { |
no test coverage detected