diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-03 13:31:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-03 23:00:51 +0200 |
commit | 4ac288400355743c2f2a7a302daee57751d1238f (patch) | |
tree | c05f68764b1ec5e1b46840ed9152d1375c731ea6 /lib/urldata.h | |
parent | 5050edb12484551f4c666212409c117cf38f9784 (diff) | |
download | curl-4ac288400355743c2f2a7a302daee57751d1238f.tar.gz |
urldata: avoid 'generic', use dedicated pointers
For the 'proto' union within the connectdata struct.
Closes #4290
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 7f26a9561..acc1fd1b9 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -780,6 +780,8 @@ struct http_connect_state { bit close_connection:1; }; +struct ldapconninfo; + /* * The connectdata struct contains all fields and variables that should be * unique for an entire connection. @@ -1018,7 +1020,8 @@ struct connectdata { struct smtp_conn smtpc; struct rtsp_conn rtspc; struct smb_conn smbc; - void *generic; /* RTMP and LDAP use this */ + void *rtmp; + struct ldapconninfo *ldapc; } proto; int cselect_bits; /* bitmask of socket events */ |