Ignore:
Timestamp:
Sep 21, 2014, 6:05:14 PM (7 years ago)
Author:
jordan
Message:

(trunk) #4160: mike.dld patch: 4160-07-env.patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer-http.c

    r14241 r14336  
    1010#include <limits.h> /* USHRT_MAX */
    1111#include <stdio.h> /* fprintf () */
    12 #include <stdlib.h> /* getenv () */
    1312#include <string.h> /* strchr (), memcmp (), memcpy () */
    1413
     
    212211        const bool variant_loaded = !tr_variantFromBenc (&benc, msg, msglen);
    213212
    214         if (getenv ("TR_CURL_VERBOSE") != NULL)
     213        if (tr_env_key_exists ("TR_CURL_VERBOSE"))
    215214        {
    216215            if (!variant_loaded)
     
    367366        const bool variant_loaded = !tr_variantFromBenc (&top, msg, msglen);
    368367
    369         if (getenv ("TR_CURL_VERBOSE") != NULL)
     368        if (tr_env_key_exists ("TR_CURL_VERBOSE"))
    370369        {
    371370            if (!variant_loaded)
Note: See TracChangeset for help on using the changeset viewer.