# # Description: Properly send password to wvdial # Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-ppp/+bug/84837 # diff -Nur -x '*.orig' -x '*~' gnome-ppp-0.3.23/build-tree/gnome-ppp-0.3.23/src/gnome-ppp-wvdial.c gnome-ppp-0.3.23.new/build-tree/gnome-ppp-0.3.23/src/gnome-ppp-wvdial.c --- gnome-ppp-0.3.23/src/gnome-ppp-wvdial.c 2005-02-01 14:28:25.000000000 -0500 +++ gnome-ppp-0.3.23/src/gnome-ppp-wvdial.c 2009-09-09 23:23:16.000000000 -0400 @@ -69,7 +69,7 @@ password = gtk_entry_get_text (GTK_ENTRY (gnome_ppp.gnome_ppp.password)); - in = g_io_channel_unix_new ((guint)data); + in = g_io_channel_unix_new (wvdial.in_pipe); g_io_channel_set_encoding (in, NULL, NULL); g_io_channel_write_chars (in, password, -1, NULL, NULL); g_io_channel_shutdown (in, TRUE, NULL);