Projet

Général

Profil

« Précédent | Suivant » 

Révision 830e500d

Ajouté par Renato Botelho il y a presque 10 ans

Revert "Error return is -1, fix check here"

This reverts commit ea59ab585658e536d0c435a4d679109d2ac1b8c0.

Voir les différences:

pfPorts/check_reload_status/files/check_reload_status.c
371 371
	tmpl = (FCGI_Header *)bufptr;
372 372

  
373 373
        prepare_packet(tmpl, FCGI_STDIN, 0, requestId);
374
	if (cmd->socket < 0) {
374
	if (cmd->socket <= 0) {
375 375
		if ((cmd->socket = fcgi_open_socket(cmd)) < 0) {
376 376
			/* Reschedule */
377 377
			tv.tv_sec = 1;

Formats disponibles : Unified diff