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

Diff for /src/usr.bin/ssh/servconf.c between version 1.238 and 1.239

version 1.238, 2013/05/16 10:44:06 version 1.239, 2013/05/17 00:13:14
Line 479 
Line 479 
         if (getcwd(cwd, sizeof(cwd)) == NULL)          if (getcwd(cwd, sizeof(cwd)) == NULL)
                 fatal("%s: getcwd: %s", __func__, strerror(errno));                  fatal("%s: getcwd: %s", __func__, strerror(errno));
         xasprintf(&ret, "%s/%s", cwd, expanded);          xasprintf(&ret, "%s/%s", cwd, expanded);
         xfree(expanded);          free(expanded);
         return ret;          return ret;
 }  }
   
Line 1666 
Line 1666 
 } while (0)  } while (0)
 #define M_CP_STROPT(n) do {\  #define M_CP_STROPT(n) do {\
         if (src->n != NULL) { \          if (src->n != NULL) { \
                 if (dst->n != NULL) \                  free(dst->n); \
                         xfree(dst->n); \  
                 dst->n = src->n; \                  dst->n = src->n; \
         } \          } \
 } while(0)  } while(0)
Line 1751 
Line 1750 
                     linenum++, &active, connectinfo) != 0)                      linenum++, &active, connectinfo) != 0)
                         bad_options++;                          bad_options++;
         }          }
         xfree(obuf);          free(obuf);
         if (bad_options > 0)          if (bad_options > 0)
                 fatal("%s: terminating, %d bad configuration options",                  fatal("%s: terminating, %d bad configuration options",
                     filename, bad_options);                      filename, bad_options);

Legend:
Removed from v.1.238  
changed lines
  Added in v.1.239