]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorBrian West <brian@freeswitch.org>
Tue, 9 Mar 2010 21:30:54 +0000 (21:30 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 9 Mar 2010 21:30:54 +0000 (21:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16958 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fax/mod_fax.c

index 3195e9836dac95561a5f7f0816975df8e441c539..185a341d3a08f46c6d3bf5c39367f77edaa161a5 100644 (file)
@@ -214,7 +214,7 @@ static void phase_e_handler(t30_state_t *s, void *user_data, int result)
        switch_channel_set_variable(channel, "fax_local_station_id", local_ident);
        switch_channel_set_variable(channel, "fax_remote_station_id", far_ident);
 
-       tmp = switch_mprintf("%i", pvt->app_mode == FUNCTION_TX ? t.pages_rx : t.pages_rx);
+       tmp = switch_mprintf("%i", pvt->app_mode == FUNCTION_TX ? t.pages_tx : t.pages_rx);
        if (tmp) {
                switch_channel_set_variable(channel, "fax_document_transferred_pages", tmp);
                switch_safe_free(tmp);