Przeglądaj źródła

Fixed braces for patch.

master
Łukasz Sowa 10 lat temu
rodzic
commit
7b4dd4bace
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      src/xml.c

+ 2
- 1
src/xml.c Wyświetl plik

@@ -143,8 +143,9 @@ static _Bool xml_string_equals(struct xml_string* a, struct xml_string* b) {
* [PRIVATE]
*/
static uint8_t* xml_string_clone(struct xml_string* s) {
if (!s)
if (!s) {
return 0;
}

uint8_t* clone = calloc(s->length + 1, sizeof(uint8_t));



Ładowanie…
Anuluj
Zapisz