yunhuizhu / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

index wrong in memcached.c (version 1.4.13) #268

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
  /* Create threads after we've done all the libevent setup. */
    for (i = 0; i < nthreads; i++) { 
        create_worker(worker_libevent, &threads[i]);
    }
the above code is located in memcached.c (version 1.4.13). 

the i should start from 1, not 0, because threads[0] is the current thread.

Original issue reported on code.google.com by yangzxs...@gmail.com on 17 Apr 2012 at 1:15

GoogleCodeExporter commented 9 years ago
i'm wrong, this is not a bug

Original comment by yangzxs...@gmail.com on 17 Apr 2012 at 1:33

GoogleCodeExporter commented 9 years ago
ok

Original comment by dorma...@rydia.net on 21 Apr 2012 at 8:05