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

Diff for /src/usr.bin/ssh/hostfile.c between version 1.73 and 1.74

version 1.73, 2018/07/16 03:09:13 version 1.74, 2019/06/27 18:03:37
Line 542 
Line 542 
         /*          /*
          * Prepare temporary file for in-place deletion.           * Prepare temporary file for in-place deletion.
          */           */
         if ((r = asprintf(&temp, "%s.XXXXXXXXXXX", filename)) < 0 ||          if ((r = asprintf(&temp, "%s.XXXXXXXXXXX", filename)) = -1 ||
             (r = asprintf(&back, "%s.old", filename)) < 0) {              (r = asprintf(&back, "%s.old", filename)) == -1) {
                 r = SSH_ERR_ALLOC_FAIL;                  r = SSH_ERR_ALLOC_FAIL;
                 goto fail;                  goto fail;
         }          }

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74