mirror of
https://github.com/curl/curl.git
synced 2026-07-29 04:23:08 +03:00
tool_operate: Start to use CURLcode rather than int for return codes
To help assist with the detection of incorrect return codes, as per commitsee23d13a79,33b8960dc8andaba98991a5, updated the operate based functions to return CURLcode error codes.
This commit is contained in:
parent
ee23d13a79
commit
b914e7ed02
3 changed files with 16 additions and 15 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
***************************************************************************/
|
||||
#include "tool_setup.h"
|
||||
|
||||
int operate(struct Configurable *config, int argc, argv_item_t argv[]);
|
||||
CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[]);
|
||||
|
||||
#endif /* HEADER_CURL_TOOL_OPERATE_H */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue