[asterisk-commits] tilghman: trunk r53980 - /trunk/funcs/func_realtime.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 11 19:44:34 MST 2007


Author: tilghman
Date: Sun Feb 11 20:44:33 2007
New Revision: 53980

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53980
Log:
Formatting fixes

Modified:
    trunk/funcs/func_realtime.c

Modified: trunk/funcs/func_realtime.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_realtime.c?view=diff&rev=53980&r1=53979&r2=53980
==============================================================================
--- trunk/funcs/func_realtime.c (original)
+++ trunk/funcs/func_realtime.c Sun Feb 11 20:44:33 2007
@@ -48,7 +48,7 @@
 static int function_realtime_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) 
 {
 	struct ast_variable *var, *head;
-        struct ast_module_user *u;
+	struct ast_module_user *u;
 	struct ast_str *out;
 	size_t resultslen;
 	int n;
@@ -59,7 +59,6 @@
 		AST_APP_ARG(delim1);
 		AST_APP_ARG(delim2);
 	);
-
 
 	if (ast_strlen_zero(data)) {
 		ast_log(LOG_WARNING, "Syntax: REALTIME(family|fieldmatch[|value[|delim1[|delim2]]]) - missing argument!\n");
@@ -100,7 +99,7 @@
 
 static int function_realtime_write(struct ast_channel *chan, const char *cmd, char *data, const char *value)
 {
-        struct ast_module_user *u;
+	struct ast_module_user *u;
 	int res = 0;
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(family);
@@ -149,18 +148,18 @@
 
 static int unload_module(void)
 {
-        int res = ast_custom_function_unregister(&realtime_function);
+	int res = ast_custom_function_unregister(&realtime_function);
 
 	ast_module_user_hangup_all();
 
-        return res;
+	return res;
 }
 
 static int load_module(void)
 {
-        int res = ast_custom_function_register(&realtime_function);
+	int res = ast_custom_function_register(&realtime_function);
 
-        return res;
+	return res;
 }
 
 AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Read/Write values from a RealTime repository");



More information about the asterisk-commits mailing list