Changeset 413:d9005d8d4380 in verona


Ignore:
Timestamp:
Feb 2, 2012 2:39:41 PM (16 months ago)
Author:
Nikita Kozlov <nikita@…>
Branch:
default
Children:
414:97f2bcd97334, 424:9a3a3ec89166
Message:

fix some log output

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • phapi/phapi.c

    r412 r413  
    178178static void ph_connection_lost(const char *host, int port); 
    179179static int ph_is_connection_lost; 
     180static char* ph_is_connection_lost_host; 
     181static int ph_is_connection_lost_port; 
    180182 
    181183void ph_message_progress(eXosip_event_t *je); 
     
    68126814{ 
    68136815        ph_is_connection_lost = 1; 
     6816        ph_is_connection_lost_host = host; 
     6817        ph_is_connection_lost_port = port; 
    68146818} 
    68156819 
     
    69576961        if (ph_is_connection_lost) 
    69586962        { 
    6959                 phcb->connectionLost("", 0); 
     6963                phcb->connectionLost(ph_is_connection_lost_host, ph_is_connection_lost_port); 
    69606964                ph_is_connection_lost = 0; 
    69616965        } 
  • phtest/phtests_core.cpp

    r209 r413  
    9494        } 
    9595         
    96         virtual void onPhLogCsl(const char *msg) 
     96        virtual void onPhLogCsl(int level, const char *msg) 
    9797        { 
    9898                DBG_LOG("csl log [%s]", msg); 
Note: See TracChangeset for help on using the changeset viewer.