fix windows build breakage from svn rev 11084

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11085 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-01-07 14:25:08 +00:00
parent 2549501cf9
commit 4d97fb66a0
3 changed files with 10 additions and 10 deletions
@@ -927,8 +927,8 @@ static switch_status_t sm_load_file(char *filename)
err:
if (err) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Loading module %s\n**%s**\n", filename, err);
if (err || !module) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Loading module %s\n**%s**\n", filename, switch_str_nil(err));
switch_safe_free(derr);
return SWITCH_STATUS_GENERR;
}