Changeset 2056


Ignore:
Timestamp:
05/22/07 11:26:10 (6 years ago)
Author:
thomas
Message:
  • libmokogsmd/moko-gsmd-connection.c:

(_moko_gsmd_connection_source_dispatch): Prevent the mainloop from
locking up if gsmd goes away

Location:
trunk/src/target/OM-2007/openmoko-libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007/openmoko-libs/ChangeLog

    r2023 r2056  
     12007-05-22  Thomas Wood  <thomas@openedhand.com> 
     2 
     3        * libmokogsmd/moko-gsmd-connection.c: 
     4        (_moko_gsmd_connection_source_dispatch): Prevent the mainloop from 
     5        locking up if gsmd goes away 
     6 
    172007-05-18  Thomas Wood  <thomas@openedhand.com> 
    28 
  • trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/moko-gsmd-connection.c

    r2001 r2056  
    241241        g_warning( "moko_gsmd_connection_source_dispatch: read error from libgsmd: %s", strerror( errno ) ); 
    242242    else 
     243    { 
     244        if ( size == 0 ) /* EOF */ 
     245          return FALSE; 
     246 
    243247        lgsm_handle_packet( self->handle, buf, size ); 
     248    } 
    244249    return TRUE; 
    245250} 
Note: See TracChangeset for help on using the changeset viewer.