Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/res
rizzo 50469fa174 normalize repeated instances of code as follows:
-       if (res >= 0)
-               return RESULT_SUCCESS;
-       else
-               return RESULT_FAILURE;
+       return (res >= 0) ? RESULT_SUCCESS : RESULT_FAILURE;

 
(we should probably create a macro for this,

#define	RET(r) ((r) >= 0) ? RESULT_SUCCESS : RESULT_FAILURE)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17899 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 16:17:04 +00:00
..
snmp do not export the tzlock and the list head, and introduce a new method, 2006-03-30 17:10:11 +00:00
Makefile Unbreak res/Makefile (issue #6891 as reported by casper) 2006-04-05 18:37:29 +00:00
res_adsi.c update doxygen docs to specify authors 2005-12-30 21:18:06 +00:00
res_agi.c normalize repeated instances of code as follows: 2006-04-06 16:17:04 +00:00
res_clioriginate.c use ast_cli_complete() to largely simplify the command completion code. 2006-03-28 23:06:46 +00:00
res_config_odbc.c Merged revisions 11503 via svnmerge from 2006-03-01 17:53:05 +00:00
res_config_pgsql.c Issue #6893 - Compiler warnings for PostgreSQL ARA driver 2006-04-06 06:55:38 +00:00
res_convert.c add a CLI command that allows conversion of files to other formats using 2006-03-14 19:50:27 +00:00
res_crypto.c - conversions to allocation wrappers 2006-01-21 22:09:06 +00:00
res_features.c as discussed with Mark a few weeks ago, the 'newstack' argument 2006-03-30 21:29:39 +00:00
res_indications.c do not export the tzlock and the list head, and introduce a new method, 2006-03-30 17:10:11 +00:00
res_monitor.c use the new module interface for this module, but make it 2006-04-06 15:10:29 +00:00
res_musiconhold.c Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random() 2006-04-05 17:44:44 +00:00
res_odbc.c remove the uses of the deprecated STANDARD_LOCAL_USER 2006-02-15 20:11:56 +00:00
res_osp.c merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found 2006-02-22 22:53:49 +00:00
res_smdi.c Bring in the new loader code as described in mantis #4377 2006-03-28 21:15:10 +00:00
res_snmp.c Add micro-http server and abstract manager interface, make snmp not die 2006-03-25 23:50:09 +00:00