Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
7be8d6aa
Commit
7be8d6aa
authored
Feb 14, 2018
by
Benjamin REIS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not return 'nullptr' as a string
parent
3f4c6a5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/chat/notification/imdn.cpp
src/chat/notification/imdn.cpp
+2
-1
No files found.
src/chat/notification/imdn.cpp
View file @
7be8d6aa
...
...
@@ -40,7 +40,8 @@ string Imdn::createXml (const string &id, time_t time, Imdn::Type imdnType, Linp
char
*
datetime
=
nullptr
;
// Check that the chat message has a message id.
if
(
id
.
empty
())
return
nullptr
;
if
(
id
.
empty
())
return
content
;
buf
=
xmlBufferCreate
();
if
(
buf
==
nullptr
)
{
...
...
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