diff options
| author | Sascha Schumann <sas@php.net> | 1999-12-19 14:39:41 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-12-19 14:39:41 +0000 |
| commit | cb45c2ea551ff92a91940bc5e8e1925b8834d0a3 (patch) | |
| tree | ce6612984d81be3a81c2104bed212a3a47296a16 /ext/session/mod_files.c | |
| parent | 143b02d8a4f4d3dea5c823b44d144690da3ae33e (diff) | |
| download | php-git-cb45c2ea551ff92a91940bc5e8e1925b8834d0a3.tar.gz | |
Use zend_sprintf by default (which is defined to sprintf, if the system's
sprintf is useable).
Diffstat (limited to 'ext/session/mod_files.c')
| -rw-r--r-- | ext/session/mod_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 49c25a724c..e3afbfe39a 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -100,7 +100,7 @@ static char *_ps_files_path_create(char *buf, size_t buflen, ps_files *data, con (strlen(data->basedir) + 2 * data->dirdepth + keylen + 5 + sizeof(FILE_PREFIX))) return NULL; p = key; - n = zend_sprintf(buf, "%s/", data->basedir); + n = sprintf(buf, "%s/", data->basedir); for(i = 0; i < data->dirdepth; i++) { buf[n++] = *p++; buf[n++] = DIR_DELIMITER; |
