[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.74 and 1.75

version 1.74, 2019/06/27 18:03:37 version 1.75, 2019/06/28 01:23:50
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)) = -1 ||          if ((r = asprintf(&temp, "%s.XXXXXXXXXXX", filename)) == -1 ||
             (r = asprintf(&back, "%s.old", filename)) == -1) {              (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.74  
changed lines
  Added in v.1.75