Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GLib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
936
Issues
936
List
Boards
Labels
Service Desk
Milestones
Merge Requests
59
Merge Requests
59
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
GLib
Commits
67c9d34d
Commit
67c9d34d
authored
Jul 01, 2020
by
Philip Withnall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guri: Allow params to be NULL if length is 0
Signed-off-by:
Philip Withnall
<
withnall@endlessm.com
>
parent
ab33896b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
glib/guri.c
glib/guri.c
+1
-1
No files found.
glib/guri.c
View file @
67c9d34d
...
...
@@ -1781,7 +1781,7 @@ g_uri_parse_params (const gchar *params,
const
gchar
*
end
,
*
attr
,
*
attr_end
,
*
value
,
*
value_end
;
gchar
*
decoded_attr
,
*
decoded_value
;
g_return_val_if_fail
(
params
!=
NULL
,
NULL
);
g_return_val_if_fail
(
length
==
0
||
params
!=
NULL
,
NULL
);
g_return_val_if_fail
(
length
>=
-
1
,
NULL
);
if
(
case_insensitive
)
...
...
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