make it const. sync
authorRoker <roker@pep-project.org>
Mon, 28 Jan 2019 16:50:29 +0100
branchsync
changeset 32482918ebb00283
parent 3247 7019b507538c
child 3250 32211c0ba931
make it const.
src/message_api.c
src/message_api.h
     1.1 --- a/src/message_api.c	Mon Jan 28 14:05:43 2019 +0100
     1.2 +++ b/src/message_api.c	Mon Jan 28 16:50:29 2019 +0100
     1.3 @@ -4716,8 +4716,8 @@
     1.4  
     1.5  DYNAMIC_API PEP_STATUS get_key_rating_for_user(
     1.6          PEP_SESSION session,
     1.7 -        char *user_id,
     1.8 -        char *fpr,
     1.9 +        const char *user_id,
    1.10 +        const char *fpr,
    1.11          PEP_rating *rating
    1.12      )
    1.13  {
     2.1 --- a/src/message_api.h	Mon Jan 28 14:05:43 2019 +0100
     2.2 +++ b/src/message_api.h	Mon Jan 28 16:50:29 2019 +0100
     2.3 @@ -602,8 +602,8 @@
     2.4  
     2.5  DYNAMIC_API PEP_STATUS get_key_rating_for_user(
     2.6          PEP_SESSION session,
     2.7 -        char *user_id,
     2.8 -        char *fpr,
     2.9 +        const char *user_id,
    2.10 +        const char *fpr,
    2.11          PEP_rating *rating
    2.12      );
    2.13