Commit 96c9fdb3 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Return buffer position from resource unpack function.

parent 10624329
......@@ -18,8 +18,8 @@
/*****************************************************************************/
void reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
void *context)
int reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
void *context)
{
int updateType, resH, originNamespace;
int unpackBufferPos = 0;
......@@ -97,6 +97,7 @@ void reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
originNamespace));
}
Free(associations);
return unpackBufferPos;
}
/*
......
......@@ -18,8 +18,8 @@ enum
END = 99999999
};
void reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
void *context);
int reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
void *context);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment