mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
Merge branch 'release'
This commit is contained in:
commit
22eebce431
1 changed files with 5 additions and 1 deletions
|
@ -86,10 +86,14 @@ _notmuch_string_map_append (notmuch_string_map_t *map,
|
|||
static int
|
||||
cmppair (const void *pa, const void *pb)
|
||||
{
|
||||
int cmp = 0;
|
||||
notmuch_string_pair_t *a = (notmuch_string_pair_t *) pa;
|
||||
notmuch_string_pair_t *b = (notmuch_string_pair_t *) pb;
|
||||
|
||||
return strcmp (a->key, b->key);
|
||||
cmp = strcmp (a->key, b->key);
|
||||
if (cmp == 0)
|
||||
cmp = strcmp (a->value, b->value);
|
||||
return cmp;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue