src/pEpEngine.c
branchsync
changeset 3968 7bef1333235a
parent 3915 c3fa76972af5
child 3972 418467283c3f
     1.1 --- a/src/pEpEngine.c	Thu Aug 08 11:08:15 2019 +0200
     1.2 +++ b/src/pEpEngine.c	Thu Aug 08 11:56:11 2019 +0200
     1.3 @@ -1498,7 +1498,7 @@
     1.4                  // N.B. WE DEFINE PEP_VERSION - IF WE'RE AT 9-DIGIT MAJOR OR MINOR VERSIONS, ER, BAD.
     1.5                  char major_buf[10];
     1.6                  char minor_buf[10];
     1.7 -                if (sscanf("%s.%s", major_buf, minor_buf) != 2)
     1.8 +                if (sscanf(PEP_VERSION, "%s.%s", major_buf, minor_buf) != 2)
     1.9                      return PEP_UNKNOWN_ERROR; // DO BETTER
    1.10                  size_t major_len = strlen(major_buf);
    1.11                  size_t minor_len = strlen(minor_buf);