Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
b6ed727a
Commit
b6ed727a
authored
Sep 18, 2011
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #392 from sschuberth/development
Fix a bug and GCC warning introduced in
932669b8
parents
33760f17
79a34396
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/config_file.c
+2
-4
No files found.
src/config_file.c
View file @
b6ed727a
...
@@ -535,10 +535,8 @@ static char *cfg_readline(diskfile_backend *cfg)
...
@@ -535,10 +535,8 @@ static char *cfg_readline(diskfile_backend *cfg)
memcpy
(
line
,
line_src
,
line_len
);
memcpy
(
line
,
line_src
,
line_len
);
line
[
line_len
]
=
'\0'
;
do
line
[
line_len
]
=
'\0'
;
while
(
line_len
--
>
0
&&
isspace
(
line
[
line_len
]));
while
(
--
line_len
>=
0
&&
isspace
(
line
[
line_len
]))
line
[
line_len
]
=
'\0'
;
if
(
*
line_end
==
'\n'
)
if
(
*
line_end
==
'\n'
)
line_end
++
;
line_end
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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