[vlc-devel] [PATCH 2/3] Do not surround the default user-agent in quotes.
Colin Guthrie
cguthrie at mandriva.org
Tue Jun 8 01:34:44 CEST 2010
The quotes are actually parsed as part of the string, so just miss them out.
---
bin/vlc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/vlc.c b/bin/vlc.c
index 5b2259d..e6085e5 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -154,7 +154,7 @@ int main( int i_argc, const char *ppsz_argv[] )
int argc = 0;
argv[argc++] = "--no-ignore-config";
- argv[argc++] = "--user-agent=\"VLC media player\"";
+ argv[argc++] = "--user-agent=VLC media player";
#ifdef TOP_BUILDDIR
argv[argc++] = FromLocale ("--plugin-path="TOP_BUILDDIR"/modules");
#endif
--
1.7.1
More information about the vlc-devel
mailing list