Compare commits

..

No commits in common. "ed4575f62a15ad866e62d3b171026850b89a953d" and "5708f3f8d275dec6ee409b4141bf3cd05b132b11" have entirely different histories.

4 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
%define CommitVersion %(echo $COMMIT_VERSION) %define CommitVersion %(echo $COMMIT_VERSION)
Name: libserverframe Name: libserverframe
Version: 1.2.15 Version: 1.2.14
Release: 1%{?dist} Release: 1%{?dist}
Summary: network framework library Summary: network framework library
License: AGPL v3.0 License: AGPL v3.0
@ -12,9 +12,9 @@ Source: http://github.com/happyfish100/libserverframe/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libfastcommon-devel >= 1.0.88 BuildRequires: libfastcommon-devel >= 1.0.86
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: libfastcommon >= 1.0.88 Requires: libfastcommon >= 1.0.86
%description %description
common framework library common framework library

View File

@ -161,9 +161,9 @@ int sf_load_log_config(IniFullContext *ini_ctx, LogContext *log_ctx,
{ {
int result; int result;
log_cfg->sync_log_buff_interval = iniGetTimestampValueEx( log_cfg->sync_log_buff_interval = iniGetIntValueEx(
ini_ctx->section_name, "sync_log_buff_interval", ini_ctx->section_name, "sync_log_buff_interval",
ini_ctx->context, SF_DEF_SYNC_LOG_BUFF_INTERVAL, 1, true); ini_ctx->context, SF_DEF_SYNC_LOG_BUFF_INTERVAL, true);
if (log_cfg->sync_log_buff_interval <= 0) { if (log_cfg->sync_log_buff_interval <= 0) {
log_cfg->sync_log_buff_interval = SF_DEF_SYNC_LOG_BUFF_INTERVAL; log_cfg->sync_log_buff_interval = SF_DEF_SYNC_LOG_BUFF_INTERVAL;
} }

View File

@ -95,7 +95,7 @@ int sf_printbuffer(char* buffer,int32_t len)
void sf_usage_ex(const char *program, const SFCMDOption *other_options) void sf_usage_ex(const char *program, const SFCMDOption *other_options)
{ {
fprintf(stderr, "\nUsage: %s [options] <config_file> " fprintf(stderr, "\nUsage: %s [options] <config_file> "
"[start | stop | restart | status]\n\nOptions:\n", program); "[start | stop | restart | status]\n\noptions:\n", program);
if (other_options != NULL) { if (other_options != NULL) {
const SFCMDOption *option; const SFCMDOption *option;

View File

@ -22,7 +22,7 @@
#define SF_MAJOR_VERSION 1 #define SF_MAJOR_VERSION 1
#define SF_MINOR_VERSION 2 #define SF_MINOR_VERSION 2
#define SF_PATCH_VERSION 15 #define SF_PATCH_VERSION 14
#define SF_VERSION_INT FC_VERSION_TO_INT(SF_MAJOR_VERSION, \ #define SF_VERSION_INT FC_VERSION_TO_INT(SF_MAJOR_VERSION, \
SF_MINOR_VERSION, SF_PATCH_VERSION) SF_MINOR_VERSION, SF_PATCH_VERSION)