mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-29 05:19:05 -05:00
Unify naming of "order by" clause in structs/table
This commit is contained in:
@@ -135,9 +135,9 @@ parse_input(struct smartpl *smartpl, pANTLR3_INPUT_STREAM input)
|
||||
free(smartpl->having);
|
||||
smartpl->having = safe_strdup((char *)plreturn.having->chars);
|
||||
|
||||
if (smartpl->order_by)
|
||||
free(smartpl->order_by);
|
||||
smartpl->order_by = safe_strdup((char *)plreturn.orderby->chars);
|
||||
if (smartpl->order)
|
||||
free(smartpl->order);
|
||||
smartpl->order = safe_strdup((char *)plreturn.orderby->chars);
|
||||
|
||||
smartpl->limit = plreturn.limit;
|
||||
|
||||
@@ -224,7 +224,7 @@ free_smartpl(struct smartpl *smartpl, int content_only)
|
||||
free(smartpl->title);
|
||||
free(smartpl->query_where);
|
||||
free(smartpl->having);
|
||||
free(smartpl->order_by);
|
||||
free(smartpl->order);
|
||||
|
||||
if (!content_only)
|
||||
free(smartpl);
|
||||
|
||||
Reference in New Issue
Block a user