# | Line 97 | Line 97 | user_stat_t *get_user_stats(){ | |
---|---|---|
97 | if (num_users != 0) { | |
98 | pos--; | |
99 | } | |
100 | < | VECTOR_RESIZE(name_list, pos + 1); |
100 | > | if (VECTOR_RESIZE(name_list, pos + 1) < 0) { |
101 | > | return NULL; |
102 | > | } |
103 | name_list[pos] = '\0'; | |
104 | ||
105 | user_stats.num_entries = num_users; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |