Branch: Tag:

2009-01-22

2009-01-22 09:03:25 by Martin Stjernholm <mast@lysator.liu.se>

Removed a little bit of redundant code.

Rev: server/base_server/prototypes.pike:1.229

5:   #include <config.h>   #include <module.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.228 2009/01/21 13:07:29 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.229 2009/01/22 09:03:25 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
1819:    // NOTE: We want the (probable) port number that the client    // used here; NOT the actual port number, since there    // may be port remappers in the way. -  port = port_obj->default_port; +     // Remove redundant port number.    cached_url_base = scheme + "://" + host;    } else {
1827:    }    }    } +     // Then use the port object.    else if (port_obj) {    string host = port_obj->conf_data[conf]->hostname;