~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to docs/examples/multi-app.c

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2011-01-26 02:50:18 UTC
  • mfrom: (3.4.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110126025018-dzgm2m2t5d1vc9y4
Tags: 7.21.3-1ubuntu1
* Merge from debian unstable.  Remaining changes: (LP: #707756)
  - debian/control:
    + Build-Depends: Replace libssh2-1-dev with openssh-server.
      Drop stunnel since it's in universe, as well.
    + Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
    Above changes are necessary to be independent from the universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
    case -1:
102
102
      /* select error */
103
103
      break;
104
 
    case 0:
105
 
      /* timeout, do something else */
106
 
      break;
107
 
    default:
108
 
      /* one or more of curl's file descriptors say there's data to read
109
 
         or write */
 
104
    case 0: /* timeout */
 
105
    default: /* action */
110
106
      curl_multi_perform(multi_handle, &still_running);
111
107
      break;
112
108
    }