Search
j0ke.net Open Build Service
>
Projects
>
Apache
>
libapr1
> string-compare.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File string-compare.diff of Package libapr1
Index: strings/apr_snprintf.c =================================================================== --- strings/apr_snprintf.c.orig 2008-05-27 06:49:54.000000000 +0200 +++ strings/apr_snprintf.c 2008-06-15 15:09:15.465863000 +0200 @@ -1291,7 +1291,7 @@ APR_DECLARE(int) apr_vformatter(int (*fl break; } - if (prefix_char != NUL && s != S_NULL && s != char_buf) { + if (prefix_char != NUL && strcmp(s, S_NULL) && s != char_buf) { *--s = prefix_char; s_len++; }