From 3b9eccd1bc6771722d6ba170eff578c2dce248dc Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 17 Apr 2008 12:34:14 +0000 Subject: [PATCH] Fix check of username git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3571 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- src/ppp-manager/nm-pppd-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppp-manager/nm-pppd-plugin.c b/src/ppp-manager/nm-pppd-plugin.c index e41edc6190..c4e2071b2a 100644 --- a/src/ppp-manager/nm-pppd-plugin.c +++ b/src/ppp-manager/nm-pppd-plugin.c @@ -223,7 +223,7 @@ get_credentials (char *username, char *password) size_t len; GError *err = NULL; - if (user && !password) { + if (username && !password) { /* pppd is checking pap support; return 1 for supported */ return 1; }