Changeset 32607


Ignore:
Timestamp:
Jul 8, 2017, 1:23:11 PM (6 weeks ago)
Author:
brainslayer
Message:

good finding, but looks better in that way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/httpd.c

    r32592 r32607  
    10511051                }
    10521052
    1053                 if (!handler->pattern)
     1053                if (!handler || !handler->pattern)
    10541054                        send_error(conn_fp, 404, "Not Found", (char *)0, "File not found.");
    10551055        }
     
    10881088
    10891089#ifndef HAVE_MICRO
    1090         if(handler)
    1091                 if (handler->input)
    1092                         pthread_mutex_unlock(&input_mutex);     //releases barrier
     1090        if (handler && handler->input)
     1091                pthread_mutex_unlock(&input_mutex);     //releases barrier
    10931092#endif
    10941093
Note: See TracChangeset for help on using the changeset viewer.