Skip to content

Commit

Permalink
Fixed Memory Error When Launcing Thinpi-Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Mendell committed Jun 1, 2021
1 parent 4794f3e commit 76543d9
Show file tree
Hide file tree
Showing 16 changed files with 444 additions and 147 deletions.
Binary file modified output/thinpi/thinpi-config
Binary file not shown.
Binary file modified output/thinpi/thinpi-manager
Binary file not shown.
Binary file modified output/usr/bin/thinpi-cli
Binary file not shown.
Binary file modified output/usr/bin/tprdp
Binary file not shown.
Binary file modified output/usr/bin/tpupdate
Binary file not shown.
Binary file modified output/var/www/html/default.cgi
Binary file not shown.
Binary file modified output/var/www/html/reboot.cgi
Binary file not shown.
Binary file modified output/var/www/html/shutdown.cgi
Binary file not shown.
Binary file modified src/thinpi-http/build/default.cgi
Binary file not shown.
Binary file modified src/thinpi-http/build/reboot.cgi
Binary file not shown.
Binary file modified src/thinpi-http/build/shutdown.cgi
Binary file not shown.
4 changes: 2 additions & 2 deletions src/thinpi-rdp/aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
dnl serial 11 (pkg-config-0.29)
dnl serial 11 (pkg-config-0.29.1)
dnl
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
Expand Down Expand Up @@ -55,7 +55,7 @@ dnl
dnl See the "Since" comment for each macro you use to see what version
dnl of the macros you require.
m4_defun([PKG_PREREQ],
[m4_define([PKG_MACROS_VERSION], [0.29])
[m4_define([PKG_MACROS_VERSION], [0.29.1])
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
])dnl PKG_PREREQ
Expand Down
1 change: 0 additions & 1 deletion src/thinpi/helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ void getServerConfig()


fclose(file);
free(line);
}
10 changes: 0 additions & 10 deletions src/thinpi/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ void handleClick(GtkWidget *wid, GtkEntry *pwordp)
void main (int argc, char *argv[])
{

if (argc == 2 ) {

if (argv[1] == "-manager") {

printf("manager launced\n");

}

}

gtk_init (&argc, &argv);

GtkBuilder *builder = gtk_builder_new();
Expand Down
Binary file modified src/thinpi/tpupdate/tpupdate.x
Binary file not shown.
576 changes: 442 additions & 134 deletions src/thinpi/tpupdate/tpupdate.x.c

Large diffs are not rendered by default.

0 comments on commit 76543d9

Please sign in to comment.