mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
updated to protobuf 1.0.1
This commit is contained in:
@@ -2304,6 +2304,8 @@ parse_required_member(ScannedMember *scanned_member,
|
|||||||
if (bd->data == NULL)
|
if (bd->data == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
memcpy(bd->data, data + pref_len, len - pref_len);
|
memcpy(bd->data, data + pref_len, len - pref_len);
|
||||||
|
} else {
|
||||||
|
bd->data = NULL;
|
||||||
}
|
}
|
||||||
bd->len = len - pref_len;
|
bd->len = len - pref_len;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
@@ -763,13 +763,13 @@ protobuf_c_version_number(void);
|
|||||||
* The version of the protobuf-c headers, represented as a string using the same
|
* The version of the protobuf-c headers, represented as a string using the same
|
||||||
* format as protobuf_c_version().
|
* format as protobuf_c_version().
|
||||||
*/
|
*/
|
||||||
#define PROTOBUF_C_VERSION "1.0.0"
|
#define PROTOBUF_C_VERSION "1.0.1"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The version of the protobuf-c headers, represented as an integer using the
|
* The version of the protobuf-c headers, represented as an integer using the
|
||||||
* same format as protobuf_c_version_number().
|
* same format as protobuf_c_version_number().
|
||||||
*/
|
*/
|
||||||
#define PROTOBUF_C_VERSION_NUMBER 1000000
|
#define PROTOBUF_C_VERSION_NUMBER 1000001
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The minimum protoc-c version which works with the current version of the
|
* The minimum protoc-c version which works with the current version of the
|
||||||
|
|||||||
Reference in New Issue
Block a user