mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-27 06:31:54 +00:00 
			
		
		
		
	my gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2 didn't like the \%ld and issued a warning, breaking my dev-mode build. This fixes it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -5493,7 +5493,7 @@ static int misdn_facility_exec(struct ast_channel *chan, void *data) | |||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		if (strlen(args.arg[0]) >= sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)) { | 		if (strlen(args.arg[0]) >= sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)) { | ||||||
| 			ast_log(LOG_WARNING, "Facility: Number argument too long (up to %ld digits are allowed). Ignoring.\n", sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)); | 			ast_log(LOG_WARNING, "Facility: Number argument too long (up to %d digits are allowed). Ignoring.\n", sizeof(ch->bc->fac_out.u.CDeflection.DeflectedToNumber)); | ||||||
| 			return 0; | 			return 0; | ||||||
| 		} | 		} | ||||||
| 		ch->bc->fac_out.Function = Fac_CD; | 		ch->bc->fac_out.Function = Fac_CD; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user