summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
386ead0)
If it is zero length string, use the default content if exists.
Change-Id: Ib122bfb0ce82d9ebb25a94aa81580550f9923053
+ if (content && strlen(content)) {
handler->content = strdup(content);
if (!handler->content) {
ErrPrint("Error: %s\n", strerror(errno));
handler->content = strdup(content);
if (!handler->content) {
ErrPrint("Error: %s\n", strerror(errno));