Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
9ce01667
Commit
9ce01667
authored
Mar 19, 2018
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a missing pointer check
parent
619c991a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/xmpp/biboumi_adhoc_commands.cpp
src/xmpp/biboumi_adhoc_commands.cpp
+4
-4
No files found.
src/xmpp/biboumi_adhoc_commands.cpp
View file @
9ce01667
...
...
@@ -406,10 +406,9 @@ void ConfigureIrcServerStep2(XmppComponent&, AdhocSession& session, XmlNode& com
const
XmlNode
*
value
=
field
->
get_child
(
"value"
,
"jabber:x:data"
);
const
std
::
vector
<
const
XmlNode
*>
values
=
field
->
get_children
(
"value"
,
"jabber:x:data"
);
if
(
field
->
get_tag
(
"var"
)
==
"address"
)
{
options
.
col
<
Database
::
Address
>
()
=
value
->
get_inner
();
}
if
(
field
->
get_tag
(
"var"
)
==
"address"
&&
value
)
options
.
col
<
Database
::
Address
>
()
=
value
->
get_inner
();
if
(
field
->
get_tag
(
"var"
)
==
"ports"
)
{
std
::
string
ports
;
...
...
@@ -443,6 +442,7 @@ void ConfigureIrcServerStep2(XmppComponent&, AdhocSession& session, XmlNode& com
else
if
(
field
->
get_tag
(
"var"
)
==
"nick"
&&
value
)
options
.
col
<
Database
::
Nick
>
()
=
value
->
get_inner
();
else
if
(
field
->
get_tag
(
"var"
)
==
"pass"
&&
value
)
options
.
col
<
Database
::
Pass
>
()
=
value
->
get_inner
();
...
...
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