mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Update to protobuf-c 1.4.1
We already had all the relevant fixes so this is just cosmetic.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008-2015, Dave Benson and the protobuf-c authors.
|
||||
* Copyright (c) 2008-2022, Dave Benson and the protobuf-c authors.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -2618,14 +2618,14 @@ parse_required_member(ScannedMember *scanned_member,
|
||||
return FALSE;
|
||||
|
||||
def_mess = scanned_member->field->default_value;
|
||||
if (len >= pref_len) {
|
||||
if (len >= pref_len)
|
||||
subm = protobuf_c_message_unpack(scanned_member->field->descriptor,
|
||||
allocator,
|
||||
len - pref_len,
|
||||
data + pref_len);
|
||||
} else {
|
||||
else
|
||||
subm = NULL;
|
||||
}
|
||||
|
||||
if (maybe_clear &&
|
||||
*pmessage != NULL &&
|
||||
*pmessage != def_mess)
|
||||
|
Reference in New Issue
Block a user