~tgates/gearmand/nuodb-queue-adapter

« back to all changes in this revision

Viewing changes to libgearman/client.cc

  • Committer: Continuous Integration
  • Date: 2013-12-20 11:27:30 UTC
  • mfrom: (893.1.1 trunk)
  • Revision ID: ci@tangent.org-20131220112730-h4bqeoibq56ge6c6
Merge bzr://gaz.haus/ Build: jenkins-Gearmand-955

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
  {
65
65
    if (is_clone == false)
66
66
    {
67
 
#if 0
68
 
      gearman_universal_initialize(client_shell->impl()->universal);
69
 
      gearman_universal_initialize(universal);
70
 
#endif
 
67
      if (getenv("GEARMAN_SERVERS"))
 
68
      {
 
69
        if (gearman_client_add_servers(client->shell(), getenv("GEARMAN_SERVERS")))
 
70
        {
 
71
          gearman_client_free(client->shell());
 
72
          return NULL;
 
73
        }
 
74
      }
71
75
    }
72
76
 
73
77
    return client->shell();