~mordred/gearmand/pandora-build

« back to all changes in this revision

Viewing changes to libgearman-server/queue_libmemcached.c

  • Committer: Monty Taylor
  • Date: 2010-04-06 00:46:58 UTC
  • Revision ID: mordred@inaugust.com-20100406004658-1x4xi9w4120uq1dh
Fixed the libmemcached cast issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
  memcached_execute_function callbacks[1];
307
307
  char *passable[1];
308
308
 
309
 
  callbacks[0]= &callback_loader;
 
309
  callbacks[0]= (memcached_execute_fn)&callback_loader;
310
310
 
311
311
  passable[0]= (char *)key;
312
312
  rc= memcached_mget(&container->clone, (void *)passable, &key_length, 1);
329
329
  memcached_st *check_for_failure;
330
330
  memcached_dump_func callbacks[1];
331
331
 
332
 
  callbacks[0]= &callback_for_key;
 
332
  callbacks[0]= (memcached_dump_fn)&callback_for_key;
333
333
 
334
334
  gearman_log_info(server->gearman, "libmemcached replay start");
335
335