summaryrefslogtreecommitdiffstats
path: root/sesman/libscp
Commit message (Collapse)AuthorAgeFilesLines
* xrdp-sesadmin: fix error when there are no sessionsBen Cohen2017-07-061-4/+11
| | | | | | | | | | | | | | | | | | Test case: On a system running xrdp with no sessions running run: xrdp-sesadmin -u=<user> -p=<password> -c=list Expected result: "No sessions." (ignoring debug output) Observed result: "Error getting session list." In the SCP_SERVER_STATE_MNG_LISTREQ case in scp_v1_mng_process() if there are no sessions it ends the scp session, which causes an error in the client. In commit 0017081d the client was changed to report errors, giving the result above. Fix by calling scp_v1s_mng_list_sessions() from scp_v1_mng_process() even when there are no sessions, and if so sending a packet with a count of zero so that the client gets what it expects.
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-146-18/+18
|
* Don't include config_ac.h from any header filesPavel Roskin2017-03-041-4/+0
|
* Include config_ac.h from all source filesPavel Roskin2017-03-0411-0/+44
|
* Remove redundant function declarationsPavel Roskin2017-01-112-11/+0
|
* Use "void" for empty argument list in declarationsPavel Roskin2017-01-054-4/+4
| | | | | | In C, an empty argument list in a declaration means that the function can accept any arguments. Use "void" instead, it means "no arguments". C++ treats void and empty list as "no arguments".
* fix build with --enable-xrdpdebug=yesvolth2017-01-041-2/+0
|
* fix build with --enable-xrdpdebug=yesvolth2017-01-041-0/+6
|
* vnc: change password file to use guid hashJay Sorg2016-12-035-3/+29
|
* Fix memory leak: free session dataPavel Roskin2016-10-211-2/+0
| | | | | | | Call scp_session_destroy() in the functions that call scp_session_create() and nowhere else. As found by Valgrind, the session data is not freed if the session is created successfully.
* Log malloc errors with LOG_LEVEL_ERRORPavel Roskin2016-10-172-2/+2
|
* Use g_new or g_new0 when C++ compiler would complain about implicit castPavel Roskin2016-07-083-6/+6
|
* Fix warnings detected by -Wwrite-stringsPavel Roskin2016-07-086-26/+28
|
* Remove unused string support in scp_session_set_addr()Pavel Roskin2016-07-085-44/+6
| | | | | | | | Using the same argument for binary and text data is not a good idea. If string support is ever needed, it should be a separate function. Remove SCP_ADDRESS_TYPE_IPV4_BIN and SCP_ADDRESS_TYPE_IPV6_BIN, use SCP_ADDRESS_TYPE_IPV4 and SCP_ADDRESS_TYPE_IPV6, which simplifies the code.
* Downgrade "libscp initialized" to LOG_LEVEL_DEBUG, remove line numberPavel Roskin2016-07-081-1/+1
| | | | It's a bad style to start the log with a cryptic warning.
* Typo fixesPavel Roskin2016-05-043-3/+3
|
* Add unnamed semaphore support on Mac OSPavel Roskin2016-04-231-11/+11
| | | | | | | sem_init() is not functional on Mac OS. Use the Grand Central Dispatch implementation. Make libscp_lock.c use semaphores through the thread_calls wrapper.
* fix a warningJay Sorg2016-03-161-1/+1
|
* Move headers from EXTRA_DIST to sources, sort alphabeticallyPavel Roskin2016-02-211-5/+18
| | | | There should be no functional difference.
* Fix typosPavel Roskin2016-02-136-7/+7
|
* Stop redefining libdir, use moduledir for ${libdir}/xrdpPavel Roskin2016-02-121-1/+1
| | | | | | | libdir is for shared and static libraries. Some xrdp libraries are loaded dynamically from a non-standard directory, so they are used like modules. Having separate libdir and moduledir would eventually allow to separate dynamically loaded modules from shared libraries.
* sesman: add missing breakJay Sorg2016-02-111-1/+1
|
* remove duplicated call to scp_session_set_bppItamar Reis Peixoto2016-02-111-1/+0
|
* Allow sessions with 32 bppPavel Roskin2016-02-101-0/+1
|
* Check return value of scp_session_set_bpp()Pavel Roskin2016-02-102-1/+16
|
* Change an unconditional #warning to a commentPavel Roskin2016-01-311-2/+5
| | | | | Notes about software design should not be shown as warnings to everybody who compiles the code. Warnings should be about unexpected conditions detected at the compile time.
* More spelling fixes found by codespell and aspellPavel Roskin2016-01-302-3/+3
|
* Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGSPavel Roskin2016-01-291-4/+2
| | | | | | | | | AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and includes. AM_CFLAGS is for flags affecting the compiler, such as debug and optimization settings. INCLUDES is an obsolete name. Users can pass INCLUDES and break compilation. AM_CPPFLAGS is more explicit that the flags come from Automake and should not be overridden.
* coverity: Resource leak (2nd round)Laxmikant Rashinkar2014-07-272-3/+0
|
* coverity: dead codeLaxmikant Rashinkar2014-07-261-6/+0
|
* coverity: fixed resolution leak issuesLaxmikant Rashinkar2014-07-192-0/+3
|
* sesman: added SessionVariables to sesman.ini and some indent cleanupJay Sorg2014-05-092-14/+14
|
* added support for using Xorg driver modelLaxmikant Rashinkar2014-03-083-2/+26
|
* ipv6 fix for sesmanJay Sorg2013-04-031-13/+1
|
* o moved from GNU General Public License to Apache License, Version 2.0Laxmikant Rashinkar2012-09-1927-2691/+2834
| | | | | o applied new coding standards to all .c files o moved some files around
* autotools: change top_srcdir to top_builddir for LIBADDJay Sorg2012-07-131-2/+2
|
* sesman: missing else and remove some EOL whitespaceJay Sorg2012-06-231-6/+6
|
* fix merge conflicsnorrarvid2012-06-184-2/+77
|\
| * Improved loggingnorrarvid2012-06-071-2/+2
| |
| * timeout added for the reply to come from sesmannorrarvid2012-06-059-123/+125
| |\
| * | separate pam authentication for gatewaysnorrarvid2012-05-314-2/+77
| | |
* | | no logic changes, remove warnings and coding style changesJay Sorg2012-06-101-1/+1
| |/ |/|
* | Initial syslog support in XRDPnorrarvid2012-05-279-123/+125
|/
* autotool fixesJay Sorg2011-07-051-1/+2
|
* include missing files in make distItamar Reis Peixoto2010-11-201-0/+2
|
* Implemented client IP loggingNicola Ruggero2010-11-044-0/+38
|
* Major code cleanup:Nicola Ruggero2010-11-031-2/+2
| | | | | | | - Initialized and zeroed out local variables - Check for some null pointers - Fixed some typos - Other minor changes (beautify, etc.)
* use do ... while (0) style for parse.hjsorg712010-08-094-5/+5
|
* update copyright yearjsorg712010-07-0427-27/+27
|
* remove some dead codejsorg712009-12-261-6/+0
|