--- projects/cms/source/ihost/ihost.c 2003/03/08 20:41:46 1.33 +++ projects/cms/source/ihost/ihost.c 2003/03/09 00:21:22 1.34 @@ -77,8 +77,8 @@ ihost_config_t ihost_config; extern int errno; -/* Taken from the openssh code. Its licence included in function.*/ -//#ifndef HAVE_STRLCAT +/* Taken from the OpenSSH code. Its licence included in function.*/ +#ifndef HAVE_STRLCAT /* * Copyright (c) 1998 Todd C. Miller @@ -106,6 +106,7 @@ extern int errno; * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + /* * Appends src to string dst of size siz (unlike strncat, siz is the * full size of dst, not space left). At most siz-1 characters @@ -144,8 +145,8 @@ strlcat(dst, src, siz) return(dlen + (s - src)); /* count does not include NUL */ } -//#endif - +#endif +/* End strlcat function taken from OpenSSH */ void log_msg(int level, char *format, ...){ int cur_errno;