~brianaker/gearmand/734663

« back to all changes in this revision

Viewing changes to libgearman-server/protocol_http.c

  • Committer: Brian Aker
  • Date: 2011-02-22 03:13:45 UTC
  • Revision ID: brian@tangent.org-20110222031345-zfxiq7fajzb77nej
A few cleanups from ICC.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
                              "Content-Length: %"PRIu64"\r\n"
166
166
                              "Server: Gearman/" PACKAGE_VERSION "\r\n"
167
167
                              "\r\n",
168
 
                              packet->command == GEARMAN_COMMAND_JOB_CREATED ?
169
 
                              (uint32_t)packet->arg_size[0] :
170
 
                              (uint32_t)packet->arg_size[0] - 1,
171
 
                              packet->arg[0],
 
168
                              packet->command == GEARMAN_COMMAND_JOB_CREATED ?  (int)packet->arg_size[0] : (int)packet->arg_size[0] - 1,
 
169
                              (const char *)packet->arg[0],
172
170
                              (uint64_t)packet->data_size);
173
171
 
174
172
  if (pack_size > data_size)