Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 146493
Collapse All | Expand All

(-)src/net.c (-4 / +14 lines)
Lines 369-378 Link Here
369
369
370
  sock_unblock(socket_client);
370
  sock_unblock(socket_client);
371
371
372
	if (SlowScan) loops = 50; else loops = 2;
372
	if (SlowScan)
373
  for (timeout = 0; timeout < loops; timeout++) {
373
        loops = 50;
374
    if (SlowScan) usleep(700000); else usleep(100000);
374
    else
375
    if (recvfrom(socket_client, buffer, sizeof(buffer), 0, (struct sockaddr *) &sin_dst, &(int) longueur) != -1) {
375
        loops = 2;
376
377
  for (timeout = 0; timeout < loops; timeout++)
378
  {
379
    if (SlowScan)
380
        usleep(700000);
381
    else
382
        usleep(100000);
383
384
    if (recvfrom(socket_client, buffer, sizeof(buffer), 0, (struct sockaddr *) &sin_dst, longueur) != -1)
385
    {
376
      if (nmb->rep_num != 0) {
386
      if (nmb->rep_num != 0) {
377
387
378
	/*set to first nameblock after header */
388
	/*set to first nameblock after header */

Return to bug 146493