diff --git a/libserverframe.spec b/libserverframe.spec index 5921b64..e9b85d0 100644 --- a/libserverframe.spec +++ b/libserverframe.spec @@ -3,7 +3,7 @@ %define CommitVersion %(echo $COMMIT_VERSION) Name: libserverframe -Version: 1.1.8 +Version: 1.1.9 Release: 1%{?dist} Summary: network framework library License: AGPL v3.0 @@ -13,9 +13,9 @@ Source: http://github.com/happyfish100/libserverframe/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: libfastcommon-devel >= 1.0.51 +BuildRequires: libfastcommon-devel >= 1.0.52 Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id -Requires: libfastcommon >= 1.0.51 +Requires: libfastcommon >= 1.0.52 %description common framework library diff --git a/src/idempotency/client/receipt_handler.c b/src/idempotency/client/receipt_handler.c index 5517d67..0889713 100644 --- a/src/idempotency/client/receipt_handler.c +++ b/src/idempotency/client/receipt_handler.c @@ -131,7 +131,8 @@ static int check_report_req_receipt(struct fast_task_info *task) return 0; } - fc_queue_pop_to_queue(&channel->queue, &channel->waiting_resp_qinfo); + fc_queue_try_pop_to_queue(&channel->queue, + &channel->waiting_resp_qinfo); if (channel->waiting_resp_qinfo.head == NULL) { return 0; }