Browse Source

changing ownership; sendto() now takes ownership of message

IPS-67
Volker Birk 3 months ago
parent
commit
4baeb4e985
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Makefile
  2. +1
    -1
      src/transport.hh

+ 1
- 1
src/Makefile View File

@ -5,7 +5,7 @@ PREFIX?=$(HOME)
TARGET=transport_status_code.h transport_status_code.c PEPTransportStatusCode.h TransportStatusCode.kt TransportStatusCode.cs
HEADERS=$(wildcard *.hh *.hxx *.h)
HEADERS=$(wildcard *.hh *.hxx *.h *.cs)
TSC=$(wildcard *.tsc)
.PHONY: install uninstall clean


+ 1
- 1
src/transport.hh View File

@ -82,7 +82,7 @@ namespace pEp {
// non-blocking
// Pushes the msg onto the tx-queue.
// Throws TransportError with tsc tx_queue_overrun if the tx_queue is full.
virtual void sendto(const ::message* msg) = 0;
virtual void sendto(::message* msg) = 0;
// non-blocking
// pops the next msg off the rx-queue


Loading…
Cancel
Save