~ubuntu-branches/ubuntu/hardy/apache2/hardy-proposed

« back to all changes in this revision

Viewing changes to srclib/apr/test/sockchild.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Fritsch
  • Date: 2008-01-17 20:27:56 UTC
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080117202756-hv38rjknhwa2ilwi
Tags: upstream-2.2.8
ImportĀ upstreamĀ versionĀ 2.2.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
            exit(-1);
68
68
        }
69
69
        
70
 
        exit(length);
 
70
        exit((int)length);
71
71
    }
72
72
    else if (!strcmp("write", argv[1])) {
73
73
        apr_size_t length = strlen(DATASTR);
74
74
        apr_socket_send(sock, DATASTR, &length);
75
75
 
76
76
        apr_socket_close(sock);
77
 
        exit(length);
 
77
        exit((int)length);
78
78
    }
79
79
    exit(-1);
80
80
}