http: respect protocol.*.allow=user for http-alternates
[gitweb.git] / git-compat-util.h
index 9eab471264ab6a22af3e5eb4a0a97f510de19a7e..b4b7f44952f2f1c53b6a35e99b7831df1adfabb6 100644 (file)
@@ -802,7 +802,7 @@ extern FILE *fopen_for_writing(const char *path);
  * you can do:
  *
  *   struct foo *f;
- *   FLEX_ALLOC_STR(f, name, src);
+ *   FLEXPTR_ALLOC_STR(f, name, src);
  *
  * and "name" will point to a block of memory after the struct, which will be
  * freed along with the struct (but the pointer can be repointed anywhere).