Skip to content

Commit

Permalink
added newlines to ndk_string_util.h and ndk_rewrite.h because they ca…
Browse files Browse the repository at this point in the history
…use compilation errors on RHEL 5.2.
  • Loading branch information
agentzh committed Mar 8, 2011
1 parent 83bcfaf commit d2f1c55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ndk_rewrite.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ char * ndk_http_rewrite_value (ngx_conf_t *cf, ndk_http_rewrite_loc_co
ngx_int_t ndk_http_rewrite_var (ngx_http_request_t *r,
ngx_http_variable_value_t *v, uintptr_t data);

#define ndk_http_script_exit (u_char *) &ndk_http_script_exit_code
#define ndk_http_script_exit (u_char *) &ndk_http_script_exit_code

3 changes: 2 additions & 1 deletion src/ndk_string_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@

#define ngx_null_enum { ngx_null_string, 0 }

#define ndk_memcpyp(d,s) ngx_memcpy(d,s,sizeof(s))
#define ndk_memcpyp(d,s) ngx_memcpy(d,s,sizeof(s))

0 comments on commit d2f1c55

Please sign in to comment.