Skip to content

Commit

Permalink
Update Parser.h
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGyver committed Apr 27, 2021
1 parent 5c13f86 commit 542c5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minimLibs/parseTest/Parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Parser {
int split() {
int am = amount(); // количество данных
clear(); // освобождаем буфер
str = (char**)malloc(am * 2); // создаём буфер
str = (char**)malloc(am * sizeof(char*)); // создаём буфер
str[0] = buf; // строка 0
int i = 0, j = 0; // счётчики
while (buf[i]) { // пока не NULL
Expand Down

0 comments on commit 542c5a7

Please sign in to comment.