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

Diff for /src/usr.bin/openssl/s_time.c between version 1.32 and 1.33

version 1.32, 2018/09/17 15:37:35 version 1.33, 2019/07/03 03:24:02
Line 377 
Line 377 
         if (s_time_config.www_path != NULL) {          if (s_time_config.www_path != NULL) {
                 retval = snprintf(buf, sizeof buf,                  retval = snprintf(buf, sizeof buf,
                     "GET %s HTTP/1.0\r\n\r\n", s_time_config.www_path);                      "GET %s HTTP/1.0\r\n\r\n", s_time_config.www_path);
                 if (retval == -1 || retval >= sizeof buf) {                  if (retval < 0 || retval >= sizeof buf) {
                         fprintf(stderr, "URL too long\n");                          fprintf(stderr, "URL too long\n");
                         return 0;                          return 0;
                 }                  }

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33