View | Details | Raw Unified | Return to bug 203058 | Differences between
and this patch

Collapse All | Expand All

(-)backend/socket.c (-4 / +2 lines)
Lines 316-322 main(int argc, /* I - Number of comm Link Here
316
  */
316
  */
317
317
318
  fprintf(stderr, "DEBUG: Connecting to %s:%d\n", hostname, port);
318
  fprintf(stderr, "DEBUG: Connecting to %s:%d\n", hostname, port);
319
  _cupsLangPrintFilter(stderr, "INFO", _("Connecting to printer."));
320
319
321
  for (delay = 5;;)
320
  for (delay = 5;;)
322
  {
321
  {
Lines 397-403 main(int argc, /* I - Number of comm Link Here
397
  }
396
  }
398
397
399
  fputs("STATE: -connecting-to-device\n", stderr);
398
  fputs("STATE: -connecting-to-device\n", stderr);
400
  _cupsLangPrintFilter(stderr, "INFO", _("Connected to printer."));
401
399
402
  fprintf(stderr, "DEBUG: Connected to %s:%d...\n",
400
  fprintf(stderr, "DEBUG: Connected to %s:%d...\n",
403
	  httpAddrString(&(addr->addr), addrname, sizeof(addrname)),
401
	  httpAddrString(&(addr->addr), addrname, sizeof(addrname)),
Lines 426-432 main(int argc, /* I - Number of comm Link Here
426
                            0, backendNetworkSideCB);
424
                            0, backendNetworkSideCB);
427
425
428
    if (print_fd != 0 && tbytes >= 0)
426
    if (print_fd != 0 && tbytes >= 0)
429
      _cupsLangPrintFilter(stderr, "INFO", _("Print file sent."));
427
      fputs("DEBUG: Print file sent.\n", stderr);
430
  }
428
  }
431
429
432
  fputs("STATE: +cups-waiting-for-job-completed\n", stderr);
430
  fputs("STATE: +cups-waiting-for-job-completed\n", stderr);
Lines 437-443 main(int argc, /* I - Number of comm Link Here
437
    * Shutdown the socket and wait for the other end to finish...
435
    * Shutdown the socket and wait for the other end to finish...
438
    */
436
    */
439
437
440
    _cupsLangPrintFilter(stderr, "INFO", _("Waiting for printer to finish."));
438
    fputs("DEBUG: Waiting for printer to finish.\n", stderr);
441
439
442
    shutdown(device_fd, 1);
440
    shutdown(device_fd, 1);
443
441

Return to bug 203058