version 1.135, 2006/02/22 00:04:44 |
version 1.136, 2006/03/16 10:31:45 |
|
|
va_list ap; |
va_list ap; |
|
|
++errs; |
++errs; |
if (fp == NULL && !(fp = fdopen(remout, "w"))) |
if (fp != NULL || (remout != -1 && (fp = fdopen(remout, "w")))) { |
return; |
(void) fprintf(fp, "%c", 0x01); |
(void) fprintf(fp, "%c", 0x01); |
(void) fprintf(fp, "scp: "); |
(void) fprintf(fp, "scp: "); |
va_start(ap, fmt); |
va_start(ap, fmt); |
(void) vfprintf(fp, fmt, ap); |
(void) vfprintf(fp, fmt, ap); |
va_end(ap); |
va_end(ap); |
(void) fprintf(fp, "\n"); |
(void) fprintf(fp, "\n"); |
(void) fflush(fp); |
(void) fflush(fp); |
} |
|
|
if (!iamremote) { |
if (!iamremote) { |
va_start(ap, fmt); |
va_start(ap, fmt); |