diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-12-24 13:13:21 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-12-25 13:39:22 +0100 |
commit | db08d93a148b2e48019588bd2a7456ba5601aa57 (patch) | |
tree | 028052f4fd6a25a855ebf86fac65c0652f4ea875 | |
parent | f66c37222dd703dee05bae6561de9deafe97c4f2 (diff) |
Remove patches
applied upstream
-rw-r--r-- | debian/patches/0001-Check-password-write-result.patch | 34 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 0 insertions, 35 deletions
diff --git a/debian/patches/0001-Check-password-write-result.patch b/debian/patches/0001-Check-password-write-result.patch deleted file mode 100644 index 265e023..0000000 --- a/debian/patches/0001-Check-password-write-result.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> -Date: Tue, 27 Mar 2012 22:19:07 +0200 -Subject: Check password write result - ---- - src/nm-iodine-service.c | 9 +++++++-- - 1 files changed, 7 insertions(+), 2 deletions(-) - -diff --git a/src/nm-iodine-service.c b/src/nm-iodine-service.c -index 03012f8..0520f5e 100644 ---- a/src/nm-iodine-service.c -+++ b/src/nm-iodine-service.c -@@ -440,14 +440,19 @@ static void - send_password(gint fd, NMSettingVPN *s_vpn) - { - const char *passwd; -+ ssize_t ret; - - passwd = nm_setting_vpn_get_secret (s_vpn, NM_IODINE_KEY_PASSWORD); - /* Don't send an empty password since this makes iodine block */ - if (!passwd || !strlen(passwd)) - passwd = "<none>"; - -- write (fd, passwd, strlen(passwd)); -- write (fd, "\n", 1); -+ ret = write (fd, passwd, strlen(passwd)); -+ if (ret < 0) -+ g_warning("Password write failed"); -+ ret = write (fd, "\n", 1); -+ if (ret < 0) -+ g_warning("Password write failed"); - } - - diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 2777090..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -0001-Check-password-write-result.patch |