]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8075 fix typo for dialplan app
authorWilliam King <william.king@quentustech.com>
Wed, 9 Sep 2015 15:59:26 +0000 (08:59 -0700)
committerWilliam King <william.king@quentustech.com>
Wed, 9 Sep 2015 15:59:26 +0000 (08:59 -0700)
src/mod/applications/mod_hiredis/mod_hiredis.c

index 1178ba4e891b90649ee96ac969aa7e594b63735b..8a6077390cdc6feafcdf8a04e401a0bee23a43a7 100644 (file)
@@ -64,7 +64,7 @@ SWITCH_STANDARD_APP(raw_app)
                return;
        }
        
-       if ( hiredis_profile_execute_sync(profile, data, &response) != SWITCH_STATUS_SUCCESS) {
+       if ( hiredis_profile_execute_sync(profile, cmd, &response) != SWITCH_STATUS_SUCCESS) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "hiredis: profile[%s] error executing [%s] because [%s]\n", profile_name, cmd, response);
        }