cleanup, null checks. etc.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6695 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-12-12 03:21:14 +00:00
1 parent 98fa287c57
commit 8fd67f8779
4 files changed
+18 -18

No files matched your search

@@ -456,7 +456,7 @@ SWITCH_STANDARD_APP(set_global_function)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No variable name specified.\n");
} else {
var = strdup(data);
assert(var);
switch_assert(var);
val = strchr(var, '=');
if (val) {