Commit 4a6430bb authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a bug which prevents multiple objects per vmod

parent 88624c7c
......@@ -321,7 +321,7 @@ class obj(object):
fo.write(self.st + ";\n")
self.init.c_proto(fo)
self.fini.c_proto(fo)
for m in o.methods:
for m in self.methods:
m.c_proto(fo)
def c_struct(self, modnam):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment