diff --git a/src/messaging.cpp b/src/messaging.cpp index fa4654e29..77c8642c2 100644 --- a/src/messaging.cpp +++ b/src/messaging.cpp @@ -47,7 +47,7 @@ struct response *send_message(struct module *root, const char *const_path, struc pthread_mutex_unlock(&old_receiver->lock); free(tmp); - return new_response(RESPONSE_ACCEPTED, NULL); + return new_response(RESPONSE_ACCEPTED, strdup("(receiver not yet exists)")); } pthread_mutex_lock(&receiver->lock); pthread_mutex_unlock(&old_receiver->lock);