[BACK]Return to downloader.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rsync

Diff for /src/usr.bin/rsync/downloader.c between version 1.16 and 1.17

version 1.16, 2019/02/18 21:55:27 version 1.17, 2019/02/18 22:47:34
Line 414 
Line 414 
   
                 /* Create the temporary file. */                  /* Create the temporary file. */
   
                 if (mktemplate(&p->fname, f->path, sess->opts->recursive)                  if (mktemplate(sess, &p->fname,
                     == -1) {                      f->path, sess->opts->recursive) == -1) {
                         ERR(sess, "asprintf");                          ERRX1(sess, "mktemplate");
                         goto out;                          goto out;
                 }                  }
   
                 if ((p->fd = mkstempat(p->rootfd, p->fname)) == -1) {                  if ((p->fd = mkstempat(p->rootfd, p->fname)) == -1) {
                         ERR(sess, "%s: openat", p->fname);                          ERR(sess, "mkstempat");
                         goto out;                          goto out;
                 }                  }
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17