* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include "rbug/rbug.h"
-#include "rbug/rbug_internal.h"
+#include "rbug.h"
+#include "rbug_internal.h"
#include "util/u_network.h"
if (!data) {
return NULL;
}
+ data->opcode = 0;
do {
uint8_t *ptr = ((uint8_t*)data) + read;
/**
* Internal function used by rbug_send_* functions.
*
- * Finish writeing data to the socket.
+ * Finish writing data to the socket.
* Ups the send_serial and sets the serial argument if supplied.
*/
int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial)