mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
fix assignment in swapmode plug.
Spotted and fix provided by ys (closes issue #14129) Reported by: ys Tested by: ys git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -549,7 +549,7 @@ static int swapmode(int *used, int *total)
|
|||||||
#elif defined(HAVE_SYSCTL) && !defined(HAVE_SYSINFO)
|
#elif defined(HAVE_SYSCTL) && !defined(HAVE_SYSINFO)
|
||||||
static int swapmode(int *used, int *total)
|
static int swapmode(int *used, int *total)
|
||||||
{
|
{
|
||||||
used = total = 0;
|
*used = *total = 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user