no_netrc.patch 555 Bytes
Newer Older
1 2 3 4 5
Index: curl-7.71.1/lib/url.c
===================================================================
--- curl-7.71.1.orig/lib/url.c
+++ curl-7.71.1/lib/url.c
@@ -2871,6 +2871,7 @@
6 7 8 9
   }
 
   conn->bits.netrc = FALSE;
+#ifndef __BIONIC__
10
   if(data->set.use_netrc && !data->set.str[STRING_USERNAME]) {
11
     bool netrc_user_changed = FALSE;
12 13 14
     bool netrc_passwd_changed = FALSE;
@@ -2895,6 +2896,7 @@
       conn->bits.user_passwd = TRUE; /* enable user+password */
15 16 17 18
     }
   }
+#endif
 
19
   /* for updated strings, we update them in the URL */
20
   if(*userp) {