git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5925 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-10-17 14:59:17 +00:00
parent 511a6292af
commit b099f96e4e
10 changed files with 130 additions and 129 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ SWITCH_DECLARE(switch_time_t) switch_str_time(const char *in);
\param vname the name of the global pointer to modify with the new function
*/
#define SWITCH_DECLARE_GLOBAL_STRING_FUNC(fname, vname) static void fname(char *string) { if (!string) return;\
if (vname) {free(vname); vname = NULL;}vname = strdup(string);}
if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(char *string)
/*!
\brief Separate a string into an array based on a character delimeter