This commit is contained in:
Radovan Kofira 2020-10-05 00:18:30 +02:00
parent 72d965931d
commit ea524c2757
2 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ int read_pizza(struct pizza* item){
memset(line,0,LINE_SIZE); memset(line,0,LINE_SIZE);
char* r = fgets(line,LINE_SIZE,stdin); char* r = fgets(line,LINE_SIZE,stdin);
trim(line); trim(line);
printf("%s\n",line);
if(r != NULL && line[1] != 0){ if(r != NULL && line[1] != 0){
char line2[LINE_SIZE]; char line2[LINE_SIZE];
memset(line2,0,LINE_SIZE); memset(line2,0,LINE_SIZE);

Binary file not shown.