Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
meanwhile
meanwhile-status.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File meanwhile-status.diff of Package meanwhile
diff -Naur meanwhile-1.0.2-old/src/common.c meanwhile-1.0.2/src/common.c --- meanwhile-1.0.2-old/src/common.c 2009-04-16 09:48:26.524242587 +0000 +++ meanwhile-1.0.2/src/common.c 2009-04-16 10:33:25.056248586 +0000 @@ -878,24 +878,25 @@ /* 8.4.2.4 Snapshot */ void mwAwareSnapshot_get(struct mwGetBuffer *b, struct mwAwareSnapshot *idb) { - guint32 junk; - char *empty = NULL; + guint32 end_of_block; g_return_if_fail(b != NULL); g_return_if_fail(idb != NULL); - guint32_get(b, &junk); + guint32_get(b, &end_of_block); mwAwareIdBlock_get(b, &idb->id); mwString_get(b, &idb->group); gboolean_get(b, &idb->online); - g_free(empty); - if(idb->online) { mwString_get(b, &idb->alt_id); mwUserStatus_get(b, &idb->status); mwString_get(b, &idb->name); } + + if ( b->ptr < b->buf + end_of_block ) { + mwGetBuffer_advance(b, b->buf + end_of_block - b->ptr); + } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor