mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-16 00:45:27 +02:00
Second attempt on a trivial mod
git-svn-id: file:///home/jj/hercules.svn/trunk@3212 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
@@ -656,8 +656,7 @@ TID httptid; /* Negotiation thread id */
|
||||
}
|
||||
/* Append trailing [back]slash, but only if needed */
|
||||
rc = strlen(absolute_httproot_path);
|
||||
if (absolute_httproot_path[rc-1] != '\\' &&
|
||||
absolute_httproot_path[rc-1] != '/')
|
||||
if (absolute_httproot_path[rc-1] != *HTTP_PS)
|
||||
strlcat(absolute_httproot_path,HTTP_PS,sizeof(absolute_httproot_path));
|
||||
free(sysblk.httproot); sysblk.httproot = strdup(absolute_httproot_path);
|
||||
TRACE("HTTPROOT = %s\n",sysblk.httproot);// (debug display)
|
||||
|
||||
Reference in New Issue
Block a user