~ubuntu-branches/ubuntu/quantal/asterisk/quantal

« back to all changes in this revision

Viewing changes to res/res_http_post.c

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Michel Dault
  • Date: 2010-02-16 14:08:54 UTC
  • mfrom: (1.2.5 upstream) (8.3.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100216140854-rb2godspb9lduazl
Tags: 1:1.6.2.2-1ubuntu1
* Merge from Debian: security update
  * Changes:
  - debian/control: Change Maintainer
  - debian/control: Removed Uploaders field.
  - debian/control: Removed Debian Vcs-Svn entry and replaced with
      ubuntu-voip Vcs-Bzr, to reflect divergence in packages.
  - debian/asterisk.init : chown /dev/dahdi
  - debian/backports/hardy : add file
  - debian/backports/asterisk.init.hardy : add file

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
#include "asterisk.h"
34
34
 
35
 
ASTERISK_FILE_VERSION(__FILE__, "$Revision: 211580 $")
 
35
ASTERISK_FILE_VERSION(__FILE__, "$Revision: 226101 $")
36
36
 
37
37
#include <sys/stat.h>
38
38
#include <fcntl.h>
447
447
 
448
448
                        urih->description = ast_strdup("HTTP POST mapping");
449
449
                        urih->uri = ast_strdup(v->name);
450
 
                        ast_str_set(&ds, 0, "%s/%s", prefix, v->value);
 
450
                        ast_str_set(&ds, 0, "%s", v->value);
451
451
                        urih->data = ds;
452
452
                        urih->has_subtree = 0;
453
453
                        urih->supports_get = 0;