Skip to content
Snippets Groups Projects
Commit cfb68cff authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

not much my poor lady

parent 5a9747aa
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,8 @@ static void toggle_history(GtkToggleToolButton *toggle_tool_button, gpointer use ...@@ -51,7 +51,8 @@ static void toggle_history(GtkToggleToolButton *toggle_tool_button, gpointer use
* @param c The call to add * @param c The call to add
*/ */
void update_call_tree_add (calltab_t* ct, call_t * c); void update_call_tree_add (calltab_t* ct, call_t * c);
/**
/*
* Update the call tree if the call state changes * Update the call tree if the call state changes
* @param c The call to update * @param c The call to update
*/ */
......
...@@ -43,6 +43,10 @@ process_call_duration( call_t* c ) ...@@ -43,6 +43,10 @@ process_call_duration( call_t* c )
{ {
gchar * res; gchar * res;
g_print("Call duration = %i\n", (int)c->_stop - c->_start); g_print("Call duration = %i\n", (int)c->_stop - c->_start);
if( c->_start == 0 )
return "";
int duration = c->_stop - c->_start; int duration = c->_stop - c->_start;
if( duration / 60 == 0 ) if( duration / 60 == 0 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment