genevent fix : important
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 4 Dec 2005 18:39:33 +0000 (18:39 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sun, 4 Dec 2005 18:39:33 +0000 (18:39 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1376 04897980-b3bd-0310-b5e0-8ef037075253

genevent-new/genevent.c

index aabc69979ea772ec94344a952b26765529666c6e..69e3e151fedfad0a12136c540fae8971c8a59dd1 100644 (file)
@@ -1439,7 +1439,7 @@ int print_event_logging_function(char *basename, facility_t *fac,
        fprintf(fd, "&before_hdr_pad, &after_hdr_pad, &header_size);\n");
        /* If error, return */
        print_tabs(2, fd);
-       fprintf(fd, "if(!buffer) return;\n\n");
+       fprintf(fd, "if(!buffer) continue; /* buffer full */\n\n");
        /* Write event header */
        print_tabs(2, fd);
        fprintf(fd, "ltt_write_event_header(trace, channel, buffer,\n");
This page took 0.024978 seconds and 4 git commands to generate.