Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
03d26d6d
Commit
03d26d6d
authored
Jun 3, 2015
by
Emmanuel Lepage Vallee
Browse files
Options
Downloads
Patches
Plain Diff
URI: Do not add an '@' when the hostname is empty
Refs #74054 Change-Id: I7aa5fe562be722e25906ac051d5df771919b05f0
parent
53b4032a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/uri.cpp
+1
-1
1 addition, 1 deletion
src/uri.cpp
with
1 addition
and
1 deletion
src/uri.cpp
+
1
−
1
View file @
03d26d6d
...
@@ -516,7 +516,7 @@ QString URI::format(FlagPack<URI::Section> sections) const
...
@@ -516,7 +516,7 @@ QString URI::format(FlagPack<URI::Section> sections) const
if
(
sections
&
URI
::
Section
::
USER_INFO
)
if
(
sections
&
URI
::
Section
::
USER_INFO
)
ret
+=
d_ptr
->
m_Userinfo
;
ret
+=
d_ptr
->
m_Userinfo
;
if
(
sections
&
URI
::
Section
::
HOSTNAME
)
if
(
sections
&
URI
::
Section
::
HOSTNAME
&&
!
d_ptr
->
m_Hostname2
.
isEmpty
()
)
ret
+=
'@'
+
d_ptr
->
m_Hostname2
;
ret
+=
'@'
+
d_ptr
->
m_Hostname2
;
if
(
sections
&
URI
::
Section
::
PORT
&&
d_ptr
->
m_Port
!=
-
1
)
if
(
sections
&
URI
::
Section
::
PORT
&&
d_ptr
->
m_Port
!=
-
1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment