Commit 8d7a5111 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #7176: fix unused but set warning, bug in callable_obj

The wrong value was being used for "time_added" when
creating a history entry from a serialized form.
parent 3889f125
...@@ -237,7 +237,7 @@ callable_obj_t *create_history_entry_from_serialized_form(const gchar *entry) ...@@ -237,7 +237,7 @@ callable_obj_t *create_history_entry_from_serialized_form(const gchar *entry)
new_call->_recordfile = g_strdup(recordfile); new_call->_recordfile = g_strdup(recordfile);
new_call->_confID = g_strdup(confID); new_call->_confID = g_strdup(confID);
new_call->_historyConfID = g_strdup(confID); new_call->_historyConfID = g_strdup(confID);
new_call->_time_added = atoi(time_start); new_call->_time_added = atoi(time_added);
new_call->_record_is_playing = FALSE; new_call->_record_is_playing = FALSE;
g_strfreev(ptr_orig); g_strfreev(ptr_orig);
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define __ASSISTANT_H #define __ASSISTANT_H
#include <accountlist.h> #include "accountlist.h"
#include <actions.h> #include "actions.h"
#include <sflphone_const.h> #include "sflphone_const.h"
#define _SIP 0 #define _SIP 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment