projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1de40f
)
WPS: Remove unused struct subscr_addr parent pointer
author
Jouni Malinen
<j@w1.fi>
Sat, 19 Dec 2009 12:30:49 +0000
(14:30 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 19 Dec 2009 12:30:49 +0000
(14:30 +0200)
src/wps/wps_upnp.c
patch
|
blob
|
history
src/wps/wps_upnp_i.h
patch
|
blob
|
history
diff --git
a/src/wps/wps_upnp.c
b/src/wps/wps_upnp.c
index
62c24c7
..
67722a2
100644
(file)
--- a/
src/wps/wps_upnp.c
+++ b/
src/wps/wps_upnp.c
@@
-377,7
+377,6
@@
static void subscr_addr_add_url(struct subscription *s, const char *url)
a = os_zalloc(sizeof(*a) + alloc_len);
if (a == NULL)
continue;
- a->s = s;
mem = (void *) (a + 1);
a->domain_and_port = mem;
strcpy(mem, domain_and_port);
diff --git
a/src/wps/wps_upnp_i.h
b/src/wps/wps_upnp_i.h
index
fd26797
..
213f8a1
100644
(file)
--- a/
src/wps/wps_upnp_i.h
+++ b/
src/wps/wps_upnp_i.h
@@
-68,7
+68,6
@@
struct advertisement_state_machine {
*/
struct subscr_addr {
struct dl_list list;
- struct subscription *s; /* parent */
char *domain_and_port; /* domain and port part of url */
char *path; /* "filepath" part of url (from "mem") */
struct sockaddr_in saddr; /* address for doing connect */