updated to protobuf 1.0.1

This commit is contained in:
Nikos Mavrogiannopoulos
2014-08-25 21:54:59 +02:00
parent 70eea332ff
commit 77380a02b7
2 changed files with 4 additions and 2 deletions

View File

@@ -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;

View File

@@ -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