[asterisk-commits] twilson: branch twilson/res_config_sqlite3 r334414 - /team/twilson/res_config...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 2 16:44:30 CDT 2011


Author: twilson
Date: Fri Sep  2 16:44:19 2011
New Revision: 334414

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=334414
Log:
Trailing whitespace

Modified:
    team/twilson/res_config_sqlite3/res/res_config_sqlite3.c

Modified: team/twilson/res_config_sqlite3/res/res_config_sqlite3.c
URL: http://svnview.digium.com/svn/asterisk/team/twilson/res_config_sqlite3/res/res_config_sqlite3.c?view=diff&rev=334414&r1=334413&r2=334414
==============================================================================
--- team/twilson/res_config_sqlite3/res/res_config_sqlite3.c (original)
+++ team/twilson/res_config_sqlite3/res/res_config_sqlite3.c Fri Sep  2 16:44:19 2011
@@ -15,7 +15,7 @@
  * the GNU General Public License Version 2. See the LICENSE file
  * at the top of the source tree.
  *
- * Please follow coding guidelines 
+ * Please follow coding guidelines
  * http://svn.digium.com/view/asterisk/trunk/doc/CODING-GUIDELINES
  */
 
@@ -24,7 +24,7 @@
  * \brief SQLite 3 configuration engine
  *
  * \author\verbatim Terry Wilson <twilson at digium.com> \endverbatim
- * 
+ *
  * This is a realtime configuration engine for the SQLite 3 Database
  * \ingroup resources
  */
@@ -379,7 +379,7 @@
 	return 0;
 }
 
-/*! \brief Callback for creating an ast_config from a successive sqlite3 result rows */ 
+/*! \brief Callback for creating an ast_config from a successive sqlite3 result rows */
 static int append_row_to_cfg(void *arg, int num_columns, char **values, char **columns)
 {
 	struct ast_config *cfg = arg;
@@ -533,7 +533,7 @@
 
 	if (!(sql = sqlite3_mprintf(static_sql, table, configfile))) {
 		ast_log(LOG_WARNING, "Couldn't allocate query\n");
-		return NULL;	
+		return NULL;
 	};
 
 	args.cfg = config;
@@ -898,7 +898,7 @@
 	}
 
 	strcpy(column, values[1]);
-	
+
 	ao2_link(cnames, column);
 	ao2_ref(column, -1);
 
@@ -937,7 +937,7 @@
 	if (!(columns = ao2_container_alloc(31, str_hash_fn, str_cmp_fn))) {
 		unref_db(&db);
 	   return -1;
-	}	   
+	}
 
 	if (!(sql = sqlite3_mprintf("PRAGMA table_info(%q)", table))) {
 		unref_db(&db);
@@ -1034,7 +1034,7 @@
 				unref_db(&db);
 			} else  {
 				if (update_realtime_sqlite3_db(db, config, cat)) {
-					unref_db(&db); 
+					unref_db(&db);
 					continue;
 				}
 				unref_db(&db);




More information about the asterisk-commits mailing list