Project

General

Profile

Actions

Bug #1054

closed

master-2013-12-02: app-layer-dns-common.c line 73: void function cannot return value

Added by Mark Solaris over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

"app-layer-dns-common.c", line 73: void function cannot return value

     71 void DNSAppLayerRegisterGetEventInfo(uint16_t alproto)
     72 {
     73     return AppLayerRegisterGetEventInfo(alproto, DNSStateGetEventInfo);
     74 }

--- app-layer-dns-common.c.orig 2013-12-03 14:58:43.023446149 +1100
+++ app-layer-dns-common.c      2013-12-03 14:58:51.616979506 +1100
@@ -70,7 +70,7 @@

 void DNSAppLayerRegisterGetEventInfo(uint16_t alproto)
 {
-    return AppLayerRegisterGetEventInfo(alproto, DNSStateGetEventInfo);
+    AppLayerRegisterGetEventInfo(alproto, DNSStateGetEventInfo);
 }

 AppLayerDecoderEvents *DNSGetEvents(void *state, uint64_t id) {
Actions #1

Updated by Andreas Herz over 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF