Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mmsd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chris T
mmsd
Commits
5675dec6
Commit
5675dec6
authored
Jan 19, 2021
by
Chris T
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix segfault if there is no date string.
parent
2c3ef7dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/service.c
src/service.c
+5
-1
No files found.
src/service.c
View file @
5675dec6
...
...
@@ -1342,7 +1342,11 @@ static gboolean load_message_from_store(const char *service_id,
read_status
=
g_key_file_get_boolean
(
meta
,
"info"
,
"read"
,
NULL
);
datestr
=
g_key_file_get_string
(
meta
,
"info"
,
"date"
,
NULL
);
strptime
(
datestr
,
"%Y-%m-%dT%H:%M:%S%z"
,
&
tm
);
if
(
datestr
!=
NULL
)
{
strptime
(
datestr
,
"%Y-%m-%dT%H:%M:%S%z"
,
&
tm
);
}
else
{
mms_error
(
"service.c(): There is no date stamp!"
);
}
data_path
=
mms_store_get_path
(
service_id
,
uuid
);
if
(
data_path
==
NULL
)
...
...
Chris T
@kop316
mentioned in commit
ff9764b9
·
Feb 18, 2021
mentioned in commit
ff9764b9
mentioned in commit ff9764b9a271fa60b585754e1f4460597e55e65f
Toggle commit 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