~phablet-team/ofono/ofono-bug-updates

« back to all changes in this revision

Viewing changes to tools/get-location.c

  • Committer: Denis Kenzior
  • Author(s): Lucas De Marchi
  • Date: 2011-03-18 23:31:14 UTC
  • Revision ID: git-v1:888e07863b24026413bac8f449de377c879e1044
message: add cancelled state

Based on patch from Yang Gu <gyagp0@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        ssize_t len;
172
172
 
173
173
        len = read(signal_fd, &si, sizeof(si));
174
 
        if (len < 0)
175
 
                return TRUE;
176
 
 
177
174
        g_main_loop_quit(event_loop);
178
175
 
179
176
        return TRUE;