|
@@ -2127,7 +2127,7 @@ error:
|
|
#define EXTRACT_STRING(strng, chars)\
|
|
#define EXTRACT_STRING(strng, chars)\
|
|
do {\
|
|
do {\
|
|
strng.s = (char *) chars;\
|
|
strng.s = (char *) chars;\
|
|
- strng.len = strlen(strng.s);\
|
|
|
|
|
|
+ strng.len = strng.s == NULL ? 0 : strlen(strng.s);\
|
|
} while(0);
|
|
} while(0);
|
|
|
|
|
|
static int unset_watchers_updated_winfo(str *pres_uri)
|
|
static int unset_watchers_updated_winfo(str *pres_uri)
|