~mm-yuhu/gearmand/server-funcs

« back to all changes in this revision

Viewing changes to libgearman/connection.c

MergeĀ Eric

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
{
116
116
  connection= gearman_connection_create(gearman, connection, NULL);
117
117
 
118
 
  if (from || connection == NULL)
 
118
  if (from == NULL || connection == NULL)
119
119
    return connection;
120
120
 
121
121
  connection->options.ready= from->options.ready;