Skip to content

Commit

Permalink
This is a better name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Rarick committed Sep 22, 2007
1 parent f43f208 commit defd850
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beanstalkd.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ enqueue_job(conn c)
}

static void
check_for_complete_job(conn c)
maybe_enqueue_job(conn c)
{
job j = c->job;

Expand Down Expand Up @@ -190,7 +190,7 @@ do_cmd(conn c)

fill_extra_data(c);

check_for_complete_job(c);
maybe_enqueue_job(c);
break;
case OP_PEEK:
reply_word(c, MSG_NOTFOUND, MSG_NOTFOUND_LEN);
Expand Down Expand Up @@ -272,7 +272,7 @@ h_conn(const int fd, const short which, conn c)

/* (j->data_read > j->data_size) can't happen */

check_for_complete_job(c);
maybe_enqueue_job(c);
break;
case STATE_SENDWORD:
r = write(fd, c->reply+c->reply_sent, c->reply_len - c->reply_sent);
Expand Down

0 comments on commit defd850

Please sign in to comment.