diff options
Diffstat (limited to 'ahl-binding/ahl-deviceenum.c')
-rw-r--r-- | ahl-binding/ahl-deviceenum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ahl-binding/ahl-deviceenum.c b/ahl-binding/ahl-deviceenum.c index 763b2ca..f672417 100644 --- a/ahl-binding/ahl-deviceenum.c +++ b/ahl-binding/ahl-deviceenum.c @@ -43,14 +43,14 @@ static int SeparateDomainFromDeviceURI( char * in_pDeviceURI, char ** out_pDomai if (*out_pDomain == NULL) { AFB_ERROR("Error tokenizing device URI -> %s",in_pDeviceURI); - return 1; + return AHL_FAIL; } // TODO: Validate domain is known string (e.g. ALSA,Pulse,GStreamer) *out_pDevice = strtok(NULL, "."); if (*out_pDevice == NULL) { AFB_ERROR("Error tokenizing device URI -> %s",in_pDeviceURI); - return 1; + return AHL_FAIL; } return AHL_SUCCESS; } |