websever.c
/*
 * Helper function for cleaner looking code.
 * */
Helper function for cleaner looking code.
Helper function for cleaner looking code .
void *zh_malloc(size_t size) {
    void *buf = malloc(size);
    if (!buf) {
        fprintf(stderr, "Fatal error: unable to allocate memory.\n");
        exit(1);
    }
    return buf;
}
void * zh_malloc ( size_t size ) { void * buf = malloc ( size ) ; if ( ! buf ) { fprintf ( stderr , " \n " ) ; exit ( 1 ) ; } return buf ; }
Helper function for cleaner looking code.
Helper function for cleaner looking code .