Show
Ignore:
Timestamp:
03/17/08 16:46:34 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1205772394 +0000
git-parent:

[a10dd1ce344ff06f9e2424f6ad324a6d14f0cbfc]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1205772394 +0000
Message:

this reorg wasn't complete

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check_tools.c

    r4b96846 rd993405  
    117117void 
    118118noit_check_run_full_asynch(noit_check_t *check, eventer_func_t callback) { 
     119  struct timeval __now, p_int; 
    119120  eventer_t e; 
    120121  e = eventer_alloc(); 
    121122  e->fd = -1; 
    122123  e->mask = EVENTER_ASYNCH;  
     124  gettimeofday(&__now, NULL); 
    123125  memcpy(&e->whence, &__now, sizeof(__now)); 
    124126  p_int.tv_sec = check->timeout / 1000; 
    125127  p_int.tv_usec = (check->timeout % 1000) * 1000; 
    126128  add_timeval(e->whence, p_int, &e->whence); 
    127   e->callback = ssh2_connect_complete
     129  e->callback = callback
    128130  e->closure =  check->closure; 
    129131  eventer_add(e);