update to the new pikotools api: change converting functions to the snake case
This commit is contained in:
parent
c2013ff47f
commit
1d0956abab
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2021, Tomasz Sowa
|
* Copyright (c) 2012-2022, Tomasz Sowa
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -212,7 +212,7 @@ void User::id_is(EzcEnv & env)
|
||||||
{
|
{
|
||||||
if( !env.par.empty() )
|
if( !env.par.empty() )
|
||||||
{
|
{
|
||||||
long par_user_id = pt::Tol(env.par.c_str());
|
long par_user_id = pt::to_l(env.par);
|
||||||
env.res = id == par_user_id;
|
env.res = id == par_user_id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue