~ubuntu-branches/ubuntu/oneiric/libupnp4/oneiric-updates

« back to all changes in this revision

Viewing changes to upnp/src/api/ActionComplete.c

  • Committer: Bazaar Package Importer
  • Author(s): Nick Leverton
  • Date: 2010-05-14 15:34:11 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100514153411-9i238idmkyg7j00y
Tags: 1.8.0~svn20100507-1
* New pull from upstream subversion
* Fixes to BSD build issues (Closes: #573321, FTBFS on Gnu/kFreeBSD)
* More debug tidying (07-neaten-debug.patch):
  - send UPNP_CRITICAL msgs to the info log as well as to the error log.
  - don't print HTTP headers to stdout as they're already in logfile.
* Always compile in logging code but don't log unless requested
  (12-debian-always-debug.patch) to help porting other apps.
* Remove patches 03, 04, 06, 08 and 10, now in upstream (note naming
  difference in upstream's string object accessors).
* Add $PTHREAD_CFLAGS to libupnp.pc as assumed by {acx,ax}_pthread.m4
  (patch 16, Closes: #581608).

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
{
57
57
        struct SUpnpActionComplete *q = (struct SUpnpActionComplete *)p;
58
58
 
 
59
        if (!q) return;
 
60
 
59
61
        q->m_errCode = 0;
60
62
 
61
63
        UpnpString_delete(q->m_ctrlUrl);
107
109
        return ((struct SUpnpActionComplete *)p)->m_ctrlUrl;
108
110
}
109
111
 
 
112
const char *UpnpActionComplete_get_CtrlUrl_cstr(const UpnpActionComplete *p)
 
113
{
 
114
        return UpnpString_get_String(UpnpActionComplete_get_CtrlUrl(p));
 
115
}
 
116
 
110
117
 
111
118
void UpnpActionComplete_set_CtrlUrl(UpnpActionComplete *p, const UpnpString *s)
112
119
{