From a8abba84bda165d283fad84ea77d59e211629bee Mon Sep 17 00:00:00 2001 From: Helder Martins Date: Wed, 17 Jul 2013 09:20:54 +0100 Subject: Fixed coding style and clearified some comments, following arnavion suggestions --- src/common/dcc.c | 2 +- src/common/dcc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/dcc.c b/src/common/dcc.c index 57c0d477..1cd22d97 100644 --- a/src/common/dcc.c +++ b/src/common/dcc.c @@ -228,7 +228,7 @@ is_dcc (struct DCC *dcc) } gboolean -is_dcc_fcompleted (struct DCC *dcc) +is_dcc_completed (struct DCC *dcc) { if (dcc != NULL) return (dcc->dccstat == STAT_FAILED || dcc->dccstat == STAT_DONE || dcc->dccstat == STAT_ABORTED); diff --git a/src/common/dcc.h b/src/common/dcc.h index 6f3b152f..acb87f34 100644 --- a/src/common/dcc.h +++ b/src/common/dcc.h @@ -117,7 +117,7 @@ struct dccstat_info extern struct dccstat_info dccstat[]; gboolean is_dcc (struct DCC *dcc); -gboolean is_dcc_fcompleted (struct DCC *dcc); +gboolean is_dcc_completed (struct DCC *dcc); void dcc_abort (session *sess, struct DCC *dcc); void dcc_get (struct DCC *dcc); int dcc_resume (struct DCC *dcc); -- cgit 1.4.1