mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
fixed SERVER_PORT
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@26013 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1157f2c2f2
commit
f53759946a
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ static int send_headers(int soc, request_rec *r)
|
|||
|
||||
retval = write_sock(soc, tmpStr, strlen(tmpStr), r);
|
||||
// SERVER_PORT
|
||||
snprintf(tmpStr, sizeof(tmpStr), "SERVER_PORT: %u\r\n",s->port);
|
||||
snprintf(tmpStr, sizeof(tmpStr), "SERVER_PORT: %hu\r\n",ap_get_server_port(r));
|
||||
retval = write_sock(soc, tmpStr, strlen(tmpStr), r);
|
||||
|
||||
return retval;
|
||||
|
|
Loading…
Reference in a new issue