Changeset 60ab6c3 in mainline for uspace/srv/net/tl/icmp/icmp_client.c


Ignore:
Timestamp:
2010-03-10T05:46:54Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5782081
Parents:
71b00dcc (diff), b48ebd19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~lukasmejdrech/helenos/network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/icmp/icmp_client.c

    r71b00dcc r60ab6c3  
    3737
    3838#include <errno.h>
    39 //#include <stdio.h>
     39
     40#ifdef CONFIG_DEBUG
     41        #include <stdio.h>
     42#endif
    4043
    4144#include <sys/types.h>
     
    7073        }
    7174        // remove debug dump
    72 //      printf("ICMP error %d (%d) in packet %d\n", header->type, header->code, packet_get_id(packet));
     75#ifdef CONFIG_DEBUG
     76        printf("ICMP error %d (%d) in packet %d\n", header->type, header->code, packet_get_id(packet));
     77#endif
    7378        return sizeof(icmp_header_t);
    7479}
Note: See TracChangeset for help on using the changeset viewer.