Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
René Štefančík
notwork
Commits
802c06f3
Commit
802c06f3
authored
Apr 15, 2021
by
René Štefančík
Browse files
Revert "mala zmena"
This reverts commit
90e2a318
.
parent
90e2a318
Pipeline
#122085
passed with stages
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
wall.c
View file @
802c06f3
...
...
@@ -19,7 +19,7 @@ void add_post(wall_t *wall, post_t *post) {
}
post_t
*
get_post
(
wall_t
*
wall
,
int
number
)
{
if
(
number
>
0
&&
number
<
wall
->
num_posts
)
if
(
number
>
0
&&
number
<
=
wall
->
num_posts
)
return
wall
->
posts
[
number
-
1
];
else
return
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment