~ubuntu-branches/ubuntu/trusty/gsoap/trusty-proposed

« back to all changes in this revision

Viewing changes to gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2013-10-17 21:57:58 UTC
  • Revision ID: package-import@ubuntu.com-20131017215758-mvs6w5g1haig2hpn
Tags: 2.8.12-2
Pad non-ipv6 struct soap to match ipv6 version (Closes: #712685)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2044
2044
  struct sockaddr_storage peer; /* IPv6: set by soap_accept and by UDP recv */
2045
2045
#else
2046
2046
  struct sockaddr_in peer;      /* IPv4: set by soap_connect/soap_accept and by UDP recv */
 
2047
  unsigned char pad[sizeof(struct sockaddr_storage) - sizeof(struct sockaddr_in)];
2047
2048
#endif
2048
2049
#endif
2049
2050
  size_t peerlen;