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
99
Issues
99
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
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
142516a6
Commit
142516a6
authored
Oct 26, 2015
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some trivial issues reported by cppcheck
parent
0fcba76c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
louloulibs/network/tcp_socket_handler.cpp
louloulibs/network/tcp_socket_handler.cpp
+1
-1
src/irc/irc_client.cpp
src/irc/irc_client.cpp
+0
-1
src/xmpp/biboumi_component.cpp
src/xmpp/biboumi_component.cpp
+1
-1
src/xmpp/biboumi_component.hpp
src/xmpp/biboumi_component.hpp
+1
-1
No files found.
louloulibs/network/tcp_socket_handler.cpp
View file @
142516a6
...
...
@@ -247,7 +247,7 @@ void TCPSocketHandler::on_send()
struct
msghdr
msg
{
nullptr
,
0
,
msg_iov
,
0
,
nullptr
,
0
,
0
};
for
(
std
::
string
&
s
:
this
->
out_buf
)
for
(
const
std
::
string
&
s
:
this
->
out_buf
)
{
// unconsting the content of s is ok, sendmsg will never modify it
msg_iov
[
msg
.
msg_iovlen
].
iov_base
=
const_cast
<
char
*>
(
s
.
data
());
...
...
src/irc/irc_client.cpp
View file @
142516a6
...
...
@@ -888,7 +888,6 @@ void IrcClient::on_unknown_message(const IrcMessage& message)
if
(
message
.
arguments
.
size
()
<
2
)
return
;
std
::
string
from
=
message
.
prefix
;
const
std
::
string
to
=
message
.
arguments
[
0
];
std
::
stringstream
ss
;
for
(
auto
it
=
message
.
arguments
.
begin
()
+
1
;
it
!=
message
.
arguments
.
end
();
++
it
)
{
...
...
src/xmpp/biboumi_component.cpp
View file @
142516a6
...
...
@@ -579,7 +579,7 @@ void BiboumiComponent::send_ping_request(const std::string& from,
}
void
BiboumiComponent
::
send_iq_room_list_result
(
const
std
::
string
&
id
,
const
std
::
string
to_jid
,
const
std
::
string
&
to_jid
,
const
std
::
string
&
from
,
const
std
::
vector
<
ListElement
>&
rooms_list
)
{
...
...
src/xmpp/biboumi_component.hpp
View file @
142516a6
...
...
@@ -66,7 +66,7 @@ public:
/**
* Send the channels list in one big stanza
*/
void
send_iq_room_list_result
(
const
std
::
string
&
id
,
const
std
::
string
to_jid
,
void
send_iq_room_list_result
(
const
std
::
string
&
id
,
const
std
::
string
&
to_jid
,
const
std
::
string
&
from
,
const
std
::
vector
<
ListElement
>&
rooms_list
);
/**
...
...
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