Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
de9a1b57
Commit
de9a1b57
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #9832: cleanup logging
parent
f8a9a027
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/history/history.cpp
+3
-3
3 additions, 3 deletions
daemon/src/history/history.cpp
daemon/src/iax/iaxvoiplink.cpp
+0
-6
0 additions, 6 deletions
daemon/src/iax/iaxvoiplink.cpp
with
3 additions
and
9 deletions
daemon/src/history/history.cpp
+
3
−
3
View file @
de9a1b57
...
...
@@ -64,7 +64,7 @@ bool History::load(int limit)
bool
History
::
save
()
{
DEBUG
(
"
History:
Saving history in XDG directory: %s"
,
path_
.
c_str
());
DEBUG
(
"Saving history in XDG directory: %s"
,
path_
.
c_str
());
ensurePath
();
std
::
sort
(
items_
.
begin
(),
items_
.
end
());
std
::
ofstream
outfile
(
path_
.
c_str
());
...
...
@@ -99,7 +99,7 @@ void History::ensurePath()
if
(
mkdir
(
userdata
.
data
(),
0755
)
!=
0
)
{
// If directory creation failed
if
(
errno
!=
EEXIST
)
{
DEBUG
(
"
History:
Cannot create directory: %m"
);
DEBUG
(
"Cannot create directory: %m"
);
return
;
}
}
...
...
@@ -126,7 +126,7 @@ void History::setPath(const std::string &path)
void
History
::
addCall
(
Call
*
call
,
int
limit
)
{
if
(
!
call
)
{
ERROR
(
"
History:
Call is NULL, ignoring"
);
ERROR
(
"Call is NULL, ignoring"
);
return
;
}
call
->
time_stop
();
...
...
This diff is collapsed.
Click to expand it.
daemon/src/iax/iaxvoiplink.cpp
+
0
−
6
View file @
de9a1b57
...
...
@@ -209,8 +209,6 @@ IAXVoIPLink::getIAXCall(const std::string& id)
void
IAXVoIPLink
::
sendRegister
(
Account
*
a
)
{
DEBUG
(
"Send register"
);
IAXAccount
*
account
=
dynamic_cast
<
IAXAccount
*>
(
a
);
if
(
account
->
getHostname
().
empty
())
...
...
@@ -282,8 +280,6 @@ IAXVoIPLink::answer(Call *call)
void
IAXVoIPLink
::
hangup
(
const
std
::
string
&
id
)
{
DEBUG
(
"IAXVoIPLink: Hangup"
);
IAXCall
*
call
=
getIAXCall
(
id
);
if
(
call
==
NULL
)
...
...
@@ -304,8 +300,6 @@ IAXVoIPLink::hangup(const std::string& id)
void
IAXVoIPLink
::
peerHungup
(
const
std
::
string
&
id
)
{
DEBUG
(
"IAXVoIPLink: Peer hung up"
);
IAXCall
*
call
=
getIAXCall
(
id
);
if
(
call
==
NULL
)
...
...
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