d is for decimal, s is for string. vpnc is a wonderful thing.

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@844 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Chris Aillon 2005-08-15 15:17:47 +00:00
parent 1262be4ea8
commit fdb72866e6

View file

@ -433,7 +433,7 @@ static gboolean nm_vpnc_config_write (guint vpnc_fd, const char *user_name, char
x = write (vpnc_fd, string, strlen (string));
g_free (string);
string = g_strdup_printf ("UDP Encapsulation Port %s\n", NM_VPNC_UDP_ENCAPSULATION_PORT);
string = g_strdup_printf ("UDP Encapsulation Port %d\n", NM_VPNC_UDP_ENCAPSULATION_PORT);
x = write (vpnc_fd, string, strlen (string));
g_free (string);