Commit 85c937b0 authored by Simon Morlat's avatar Simon Morlat
Browse files

get version from a file

parent b6d22963
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.61])
AC_INIT([belle-sip], [1.2.1], [jehan.monnier@linphone.org])
AC_PREREQ([2.65])
AC_INIT([belle-sip], m4_esyscmd_s([cat ./VERSION]), [jehan.monnier@linphone.org])
AC_CONFIG_SRCDIR([src/belle_sip_utils.c])
AC_CONFIG_HEADERS([config.h])
......
......@@ -811,7 +811,6 @@ belle_sip_transaction_t* belle_sip_dialog_get_last_transaction(const belle_sip_d
}
int belle_sip_dialog_request_pending(const belle_sip_dialog_t *dialog){
if (dialog->needs_ack) return TRUE;
return dialog->last_transaction ? belle_sip_transaction_state_is_transient(belle_sip_transaction_get_state(dialog->last_transaction)) : FALSE;
}
......@@ -862,7 +861,7 @@ void belle_sip_dialog_queue_client_transaction(belle_sip_dialog_t *dialog, belle
void belle_sip_dialog_process_queue(belle_sip_dialog_t* dialog){
belle_sip_client_transaction_t *tr=NULL;
if (belle_sip_dialog_request_pending(dialog)) return;
if (belle_sip_dialog_request_pending(dialog) || dialog->needs_ack) return;
dialog->queued_ct=belle_sip_list_pop_front(dialog->queued_ct,(void**)&tr);
if (tr){
......
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