[pulseaudio-commits] r2517 - /branches/coling/airtunes/src/pulsecore/namereg.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed Jun 11 15:43:05 PDT 2008


Author: coling
Date: Thu Jun 12 00:43:03 2008
New Revision: 2517

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2517&root=pulseaudio&view=rev
Log:
Allow hyphens (dashes) as valid characters (this may have to be reverted and a workaround found if Lennart does not approve)

Modified:
    branches/coling/airtunes/src/pulsecore/namereg.c

Modified: branches/coling/airtunes/src/pulsecore/namereg.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/coling/airtunes/src/pulsecore/namereg.c?rev=2517&root=pulseaudio&r1=2516&r2=2517&view=diff
==============================================================================
--- branches/coling/airtunes/src/pulsecore/namereg.c (original)
+++ branches/coling/airtunes/src/pulsecore/namereg.c Thu Jun 12 00:43:03 2008
@@ -53,7 +53,7 @@
         (c >= 'A' && c <= 'Z') ||
         (c >= '0' && c <= '9') ||
         c == '.' ||
-        c == '_';
+        c == '_' || c == '-';
 }
 
 pa_bool_t pa_namereg_is_valid_name(const char *name) {




More information about the pulseaudio-commits mailing list