Change name_num_obj struct to use a name_num_item pointer.
[rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 1cc037c5142886dae75f632133b19813a6145fb9..e29c37c329ac814299808120735d6eafc4e04b5c 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -1172,7 +1172,7 @@ struct name_num_obj {
        uchar *saw;
        int saw_len;
        int negotiated_num;
-       struct name_num_item list[10]; /* we'll get a compile error/warning if this is ever too small */
+       struct name_num_item *list;
 };
 
 #ifdef EXTERNAL_ZLIB