/[inetutils]/inetutils/tftp/main.c
ViewVC logotype

Diff of /inetutils/tftp/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by alainm, Sat Jul 15 01:57:12 2000 UTC revision 1.9 by marcus, Fri Nov 2 21:50:13 2001 UTC
# Line 383  put(argc, argv) Line 383  put(argc, argv)
383                          printf("putting %s to %s:%s [%s]\n",                          printf("putting %s to %s:%s [%s]\n",
384                                  cp, hostname, targ, mode);                                  cp, hostname, targ, mode);
385                  peeraddr.sin_port = port;                  peeraddr.sin_port = port;
386                  sendfile(fd, targ, mode);                  send_file(fd, targ, mode);
387                  return;                  return;
388          }          }
389                                  /* this assumes the target is a directory */                                  /* this assumes the target is a directory */
# Line 401  put(argc, argv) Line 401  put(argc, argv)
401                          printf("putting %s to %s:%s [%s]\n",                          printf("putting %s to %s:%s [%s]\n",
402                                  argv[n], hostname, targ, mode);                                  argv[n], hostname, targ, mode);
403                  peeraddr.sin_port = port;                  peeraddr.sin_port = port;
404                  sendfile(fd, targ, mode);                  send_file(fd, targ, mode);
405          }          }
406  }  }
407    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26