]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Restore amount to advance by to fr_dbuff_marker_advance() (#3682)
authorJames Jones <jejones3141@gmail.com>
Thu, 8 Oct 2020 15:45:21 +0000 (10:45 -0500)
committerGitHub <noreply@github.com>
Thu, 8 Oct 2020 15:45:21 +0000 (10:45 -0500)
src/lib/util/dbuff.h

index ed8020bb5ae00ad6849e7290a03ca5b6b1c7f3d9..3931d1fad9929f7bf4b135de25e97ef652db2504 100644 (file)
@@ -538,7 +538,7 @@ static inline ssize_t _fr_dbuff_marker_set(fr_dbuff_marker_t *m, uint8_t const *
 /*
  * Change the position in the buffer a marker points to
  */
-#define fr_dbuff_marker_advance(_marker) fr_dbuff_advance(_marker)
+#define fr_dbuff_marker_advance(_marker, _n) fr_dbuff_advance(_marker, _n)
 
 /*
  * Reset the position in a dbuff to specified marker