From 79dc35b71cd98aed08353fffe35d23dc0ff9c774 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 29 May 2007 21:24:45 +0000 Subject: [PATCH] more typofixes --- ext/standard/dl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/dl.c b/ext/standard/dl.c index f8cc30c8a5..aecdf24ee6 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -116,9 +116,9 @@ void php_dl(zval *file, int type, zval *return_value, int start_now TSRMLS_DC) int extension_dir_len = strlen(extension_dir); if (IS_SLASH(extension_dir[extension_dir_len-1])) { - spprintf(libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ + spprintf(&libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ } else { - spprintf(libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ + spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ } } else { libpath = estrndup(filename, filename_len); -- 2.40.0