diff options
Diffstat (limited to 'src/extract-uri.cpp')
| -rw-r--r-- | src/extract-uri.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extract-uri.cpp b/src/extract-uri.cpp index a25c8bb70..ae2efcb0e 100644 --- a/src/extract-uri.cpp +++ b/src/extract-uri.cpp @@ -10,18 +10,18 @@ gchar *extract_uri( gchar const *s, gchar const** endptr ) { if (!s) - return NULL; + return nullptr; - gchar* result = NULL; + gchar* result = nullptr; gchar const *sb = s; if ( strlen(sb) < 4 || strncmp(sb, "url", 3) != 0 ) { - return NULL; + return nullptr; } sb += 3; if ( endptr ) { - *endptr = 0; + *endptr = nullptr; } // This first whitespace technically is not allowed. |
