~ubuntu-branches/debian/sid/gearmand/sid

« back to all changes in this revision

Viewing changes to libgearman/task.cc

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2012-05-01 20:43:47 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120501204347-qaifvvjkktvc9upu
Tags: 0.32-1
* Imported Upstream version 0.32
* Remove spelling patch included upstream
* Remove documentation patch, we do not rebuild documentation
* Remove memcached patch, fixed upstream
* Use dh_autoreconf
* Use copyright format 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
 
154
154
  task->client->task_count--;
155
155
 
 
156
  // If the task we are removing is a current task, remove it from the client
 
157
  // structures.
 
158
  if (task->client->task == task)
 
159
  {
 
160
    task->client->task= NULL;
 
161
  }
 
162
  task->client= NULL;
 
163
  task->job_handle[0]= 0;
 
164
 
156
165
  if (task->options.allocated)
157
166
  {
158
167
    delete task;