]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
packet.c: (ldns_wire2packet_header) Replaced evil C99/C++ single line
authorErik Rozendaal <erik@NLnetLabs.nl>
Tue, 14 Dec 2004 15:40:42 +0000 (15:40 +0000)
committerErik Rozendaal <erik@NLnetLabs.nl>
Tue, 14 Dec 2004 15:40:42 +0000 (15:40 +0000)
comment with standard C89 comment.

packet.c

index 6c259976bbe5f4ab6405690205a7ed3b2d8e7f48..e62f1ff8bfe08d121e3dabd467f9e26f049a1c8d 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -333,7 +333,7 @@ size_t
 ldns_wire2packet_header(uint8_t *wire, size_t max, size_t *pos, t_packet *packet)
 {
        if (*pos + HEADER_SIZE > *wire + max) {
-               // TODO: set t_status error
+               /* TODO: set t_status error.  */
                return 0;
        } else {
 
@@ -356,7 +356,7 @@ ldns_wire2packet_header(uint8_t *wire, size_t max, size_t *pos, t_packet *packet
 
                *pos += HEADER_SIZE;
                
-               // TODO t_status succ
+               /* TODO t_status succ.  */
                return 0;
        }
 }